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

Home » Public Forums » archive » Re: set_plot,'PS' and accurate colors?
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: set_plot,'PS' and accurate colors? [message #33507 is a reply to message #33506] Tue, 07 January 2003 12:00 Go to previous messageGo to previous message
dave is currently offline  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
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: writing ascii files (with really long lines...)
Next Topic: Re: dlm returning ptr array and string array

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

Current Time: Sun Oct 12 13:07:17 PDT 2025

Total time taken to generate the page: 2.31953 seconds