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

Home » Public Forums » archive » Re: How to plot multiple cgContour plots using the same colour levels (but containing differing data)
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: How to plot multiple cgContour plots using the same colour levels (but containing differing data) [message #88309 is a reply to message #88306] Fri, 11 April 2014 11:44 Go to previous message
siumtesfai is currently offline  siumtesfai
Messages: 62
Registered: April 2013
Member
On Thursday, April 10, 2014 5:02:43 PM UTC-4, David Fanning wrote:
> IDL Beginner writes:
>
>
>
>> The above code for contour plot will not work when you have data that ranges between negative and positive . It works the above code when all your data have positive value.
>
>>
>
>> What would you be your advice or suggestion on that.
>
>
>
> My best advice would be to not use other people's code unless you
>
> understand it. Rather, I would spend 15-20 minutes with your data and
>
> the cgContour documentation, reading about the various keywords and what
>
> they are used for. Start with the very simplest contour plot:
>
>
>
> cgContour, data
>
>
>
> Then, read and add keywords to see what they do. Once you have an
>
> understanding of how things work, it will be simple for you to
>
> understand why these commands aren't "working" with negative data.
>
>
>
> Cheers,
>
>
>
> David
>
> --
>
> David Fanning, Ph.D.
>
> Fanning Software Consulting, Inc.
>
> Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
>
> Sepore ma de ni thue. ("Perhaps thou speakest truth.")

Ok, I did my homework and it has to do with the combination of levles and step.

Thanks
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: call ITK from IDL
Next Topic: Error with cg output and ImageMagick

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

Current Time: Sun Oct 12 02:32:43 PDT 2025

Total time taken to generate the page: 1.04045 seconds