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

Home » Public Forums » archive » Re: Can IDL Coutour function specify the value of each contour level by explicitly setting
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Can IDL Coutour function specify the value of each contour level by explicitly setting [message #72941] Thu, 14 October 2010 13:59
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
ziying li writes:

> I need to generate contour plot for one HDF-EOS file. The datasets in
> this file only contain several value. The expected graphic is like
> this: https://mywebspace.wisc.edu/zli76/HDF/IDL/MOD10_L2.A2000065. 0040.005.2008235221207_Snow_Cover_Polar.pdf
>
> Can anyone give me hint which parameter I need to add for contour
> function?

I doubt you want to contour that data. I suspect you
probably want to partition the data into different colors
so you can display it as an image. At least that's what
I would do with that data. :-)

Here is an article that describes how to do that.

http://www.dfanning.com/code_tips/partition.html

If you did want to try to contour it. Set your LEVELS
keyword to the specific values present in the image.

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.")
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Can IDL Coutour function specify the value of each contour level by explicitly setting
Next Topic: Re: DG Plot Zoom in Widget Program

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

Current Time: Wed Oct 08 15:23:14 PDT 2025

Total time taken to generate the page: 0.00419 seconds