iplot and color tables? [message #49096] |
Mon, 26 June 2006 12:20  |
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  |
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  |
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
|
|
|