Re: set_plot,'PS' and accurate colors? [message #33508 is a reply to message #33507] |
Tue, 07 January 2003 11:44   |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
dave (knapp@rtt.colorado.edu.NOSPAM) writes:
> loadct,13
> display is currently set to 16bit
> I get a nice rainbow of plots incrementing the color as I generate new
> lat/lons
> (too much to explain why I'm doing that)
>
> oplot,lons,lats,color=(j+k)*30+200
>
> My nice rainbow of lat/lon trajectories wind up as primarily red with one
> orange track.
Ah, right. It looks to me like you are trying to express
your colors in 24-bit notation and the PostScript device
is an 8-bit device (with the exception of 24-bit images).
So you are going to have to figure out some way to use
a 256-element color table for your colors if you want to
duplicate what you see on the display. I'm afraid this
is just a limitation of the PostScript device.
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|