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

Home » Public Forums » archive » Re: Color problem.
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: Color problem. [message #80099] Fri, 04 May 2012 14:09 Go to previous message
Mark Piper is currently offline  Mark Piper
Messages: 198
Registered: December 2009
Senior Member
>> If you look in the online help, under "Plot", then under the "Color" property, there is a link to "string or RGB vector". That page contains a list of the shorthand color names like "r","b","g" and it also contains a table of all of the colors.

Also note (thanks, Katie!) that this table gives the index for a color along with its name; e.g., 'hot pink' (in the upper right corner) is index 58:

IDL> print, !color.hot_pink
255 105 180
IDL> print, !color.(58)
255 105 180

This could be handy for indexing colors in a series of plots.

mp
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Color problem.
Next Topic: Re: Time series.

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

Current Time: Fri Oct 10 01:58:58 PDT 2025

Total time taken to generate the page: 1.36095 seconds