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  |
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
|
|
|