comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: Generating color postscript in IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: Generating color postscript in IDL [message #22605] Tue, 21 November 2000 00:00 Go to previous message
Liam E. Gumley is currently offline  Liam E. Gumley
Messages: 378
Registered: January 2000
Senior Member
Randall Skelton wrote:
> I am looking to generate 24 bit color postscript from IDL 5.3. Does
> anyone know if there is a way to do this? Perhaps I am being overly
> ambitious with asking for 24 bit... however, I have written all of my
> color plotting using 24 bit addresses for colors so if I cannot plot
> directly in 24 bit postscript, how do I go about converting my plots
> (which look very nice on my display) into a color postscript file.

One way is to use the PRINTER graphics device, with a color PostScript
printer (such as HP Color Laserjet PS) selected for output to a file,
e.g.

entry_device = !d.name
set_plot, 'PRINTER'
result = dialog_printersetup() ; Select HP Color Laserjet PS to file
device, /true_color
plot, indgen(10), color='FF0000'XL
device, /close_document
set_plot, entry_device

This creates a bright blue plot in IDL 5.3 for NT4. The printer dialog
takes a bit more patience on UNIX platforms, but it does work.

Cheers,
Liam.
http://cimss.ssec.wisc.edu/~gumley
[Message index]
 
Read Message
Read Message
Previous Topic: ENVI: AVHRR Calibration for Old NOAA Platforms
Next Topic: Generating color postscript in IDL

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 15:42:43 PDT 2025

Total time taken to generate the page: 0.08262 seconds