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 #88306 is a reply to message #88304] Thu, 10 April 2014 14:02 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
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.")
[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: Wed Oct 08 19:27:56 PDT 2025

Total time taken to generate the page: 0.00446 seconds