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

Home » Public Forums » archive » iplot and color tables?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
iplot and color tables? [message #49096] Mon, 26 June 2006 12:20 Go to next message
maye is currently offline  maye
Messages: 29
Registered: June 2006
Junior Member
Hi!
I can't seem to find a way to use simple color tables in iPlot, like it
is possible to do in iimage.
Do I really have to know the RGB values of useful colors for iPlot's
COLOR keyword, just to distinguish 10 graphs I overplot on each other,
or do I overlook something?
If giving the color in RGB values is really the only way to have nicely
distinguishable graphs in iPlot, does anybody happen to have a list of
let's say, 16 different RGB values for that?
I see, that there is a way to construct your own color table.. but.. do
I really have to? :)
I'm a scientist, who does not necessarily want to know about RGB values
of useful colors, but just wants to have different plots nicely
distinguished by colors.
In PLOT I just can multiply/add my FOR-variable to change the value for
the color keyword, but in iPlot? Any suggestions?
Many thanks in advance,
Michael
Re: iplot and color tables? [message #49174 is a reply to message #49096] Wed, 28 June 2006 10:07 Go to previous message
maye is currently offline  maye
Messages: 29
Registered: June 2006
Junior Member
greg michael schrieb:

> Can't you just take a normal direct graphics colour table and convert
> it to an array of triples to send to your iplot? Something like this...
>
> loadct,34 ;rainbow
> tvlct,r,g,b,/get
>
Yes, thanks, that's also a nice way. That way one can choose between
the existing color tables and control the access to it with a loop
multiplicatior, nice.

Thanks for the hint!
Regards,
Michael
Re: iplot and color tables? [message #49185 is a reply to message #49096] Tue, 27 June 2006 08:43 Go to previous message
greg michael is currently offline  greg michael
Messages: 163
Registered: January 2006
Senior Member
Can't you just take a normal direct graphics colour table and convert
it to an array of triples to send to your iplot? Something like this...

loadct,34 ;rainbow
tvlct,r,g,b,/get

regards,
Greg
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Running Windows IDL under wine
Next Topic: Re: IDL and C#

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

Current Time: Wed Oct 08 15:49:20 PDT 2025

Total time taken to generate the page: 0.00625 seconds