Re: set_plot,'PS' and accurate colors? [message #33507 is a reply to message #33506] |
Tue, 07 January 2003 12:00   |
dave
Messages: 31 Registered: February 1994
|
Member |
|
|
I just reduced the color depth in the plots (the range in the color variable)
to less than 255 with no change in the output colors at all.
Oh well. Thank you.
David Fanning wrote:
> 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
|
|
|