Talk About Network



Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > Idl-pvware > Re: being cleve...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 4 Topic 5723 of 5734
Post > Topic >>

Re: being clever with postscript

by "Kenneth P. Bowman" <k-bowman@[EMAIL PROTECTED] > May 8, 2008 at 05:28 PM

In article 
<446f54e5-5a8c-4a02-8ed7-0095107f1bc3@[EMAIL PROTECTED]
>,
 ianpaul.freeley@[EMAIL PROTECTED]
 wrote:

> OK, here's the situation I'm sick of:  I've written a pile of code
> that, after performing some amazing array manipulation, generates some
> beautiful plots.  Now I'd like to include the plots in a scientific
> paper by creating encapsulated postscript files.  The problem is, for
> many of the plots I will want to convert them to black and white to
> save printing costs.  For those that I want to leave in color, I'll
> need both CMYK and RGB versions (CMYK for the printers, and RBG to put
> on-line).
> 
> Can anyone come up with a cleaver wrapper to put around my plot
> commands so that IDL outputs B&W, RGB, and CMYK postscript files?  It
> would really be handy if I could open multiple devices to plot to
> simultaneously, but I don't see any way to do that.
> 
> I could just write a loop around all my current "device" calls, but I
> was hoping for something more elegant.
> 
> cheers,
> IP Freeley

You can look at my ps_on and ps_off routines (idl.tamu.edu) or Liam
Gumley's similar routines.  Add the keywords you need and you're set.

Beware, the PS device driver only supports 8-bit color for lines
and the like (24-bit is only for images).

Ken Bowman




 4 Posts in Topic:
being clever with postscript
ianpaul.freeley@[EMAIL PR  2008-05-08 15:06:55 
Re: being clever with postscript
"Kenneth P. Bowman&q  2008-05-08 17:28:00 
Re: being clever with postscript
"R.G. Stockwell"  2008-05-09 12:10:24 
Re: being clever with postscript
ianpaul.freeley@[EMAIL PR  2008-05-12 15:18:35 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Fri May 16 2:41:04 CDT 2008.