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 #33508 is a reply to message #33507] Tue, 07 January 2003 11:44 Go to previous messageGo to previous message
David Fanning is currently offline  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
[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 10:41:23 PDT 2025

Total time taken to generate the page: 1.43848 seconds