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

Home » Public Forums » archive » Re: cgcolor, cgplot, and /WINDOW
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: cgcolor, cgplot, and /WINDOW [message #75510] Wed, 23 March 2011 20:22 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Michael Galloy writes:

> You can pass either a single index or a 3-element array for a color in
> object graphics. If you pass a single index, then the object uses its
> PALETTE property to lookup the actual color. Of course, now in IDL 8.0,
> you can say !color.red.

Yes, this is what Coyote Graphics does, too, if you pass
a color palette. And red, of course, is just passed
as "red". ;-)

Cheers,

David


--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: lat/lon projection
Next Topic: AVHRR Calibration and Georeferencing

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

Current Time: Wed Oct 08 15:48:57 PDT 2025

Total time taken to generate the page: 0.00447 seconds