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

Home » Public Forums » archive » Re: cgcolor load color to the current color table.
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 load color to the current color table. [message #78145 is a reply to message #78143] Tue, 25 October 2011 19:16 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Zhang Bo writes:

> when I use color = cgcolor('black'), it will load black in to color
> index 84, which mass up my following TV and colorbar. How to avoid
> this?

Use decomposed color. :-)

Or, if you insist on using the brain-dead TV command and
indexed color load your color tables just before you display
your image. With cgColorbar, use the AnnotateColor keyword
rather than the Color keyword to specify your drawing color.

But, really, use decomposed color. For everything. Really. :-)

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
Previous Topic: plot 3 array one up to another
Next Topic: expanded area is shown when trying to plot an image on a map

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

Current Time: Fri Oct 10 11:25:43 PDT 2025

Total time taken to generate the page: 1.67698 seconds