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 #64185] Mon, 08 December 2008 17:49 Go to previous message
xiao zhang is currently offline  xiao zhang
Messages: 81
Registered: June 2008
Member
On Dec 7, 5:45 pm, David Fanning <n...@dfanning.com> wrote:
> 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.")

Thank you very much David~
[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: Sat Oct 11 10:38:32 PDT 2025

Total time taken to generate the page: 0.08176 seconds