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

Home » Public Forums » archive » Re: Anyone can explain this?
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: Anyone can explain this? [message #64194 is a reply to message #64185] Sun, 07 December 2008 15:45 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
xiao writes:

> Hi ~ guys. I have a question about the contour command. When I call
> it like this:
> ...
> It shows me the right color and I can change the color in the contour
> command, Why is that? Any one got ideas?

The contour command requires that you use index colors. Load your
R, G, and B vectors into the color table, then set up C_COLOR like
this:


Device, Get_Decomposed=theState, DECOMPOSED=0
TVLCT, r, g, b, 1
Map_Set, ...
CONTOUR, ...., C_COLORS=Indgen(64)+1B
Device, DECOMPOSED=theState

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: Re: Error in the spinner control panel on Catalyst library
Next Topic: Anyone can explain this?

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

Current Time: Sun Oct 12 05:49:54 PDT 2025

Total time taken to generate the page: 1.19916 seconds