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

Home » Public Forums » archive » Why the contour does not show?
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: Why the contour does not show? [message #63957 is a reply to message #63877] Sat, 22 November 2008 14:27 Go to previous messageGo to previous message
R.Bauer is currently offline  R.Bauer
Messages: 1424
Registered: November 1998
Senior Member
xiao schrieb:
> On Nov 21, 6:27 pm, David Fanning <n...@dfanning.com> wrote:
>> xiao writes:
>>> Sorry I have to ask again, i tried to scaled my data, and the result
>>> is right, but when I try to plot it, it just show me very few colors
>>> (almost bright color) Is it because of my color table? David? Thank
>>> you. BTW: i did scale it from 0 to 255.
>> Well, I don't think the CONTOUR command knows anything
>> about 24-bit colors. He is older, even, than I am. :-)
>>
>> It's an odd color table, but why don't you just
>> load the colors and then tell the Contour command
>> to use an index into the color table, like this:
>>
>> TVLCT, r, g, b
>> IF (!D.Flags AND 256) NE 0 THEN $
>> Device, Decomposed=0, Get_Decomposed=theState
>> CONTOUR, ....., C_Colors=Indgen(64), ....
>> IF (!D.Flags AND 256) NE 0 THEN $
>> Device, Decomposed=theState
>>
>> That might work better. At least it is a place to start.
>>
>> 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.")
>
> Sorry, David, it does not work :( I am trying to think where the
> problem should be....

please post a complete example of what you have now. That is easier to
understand.

cheers
Reimar
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Returning up the stack after error
Next Topic: Nothing to do with IDL

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

Current Time: Sat Oct 11 05:34:00 PDT 2025

Total time taken to generate the page: 3.35912 seconds