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

Home » Public Forums » archive » Re: Iso-contours at maximum/minimum levels
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: Iso-contours at maximum/minimum levels [message #64881 is a reply to message #64880] Thu, 29 January 2009 14:51 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Gianluca Li Causi writes:

> In order to find the iso-value lines of a 2D surface I'm using the
> CONTOUR procedure, which works very well except that it's NOT ABLE to
> compute the contour when the LEVEL equals the maximum or minimum of
> the function.
>
> I've the following simple fuction:
> Z = shift(dist(100, 100), 50,50)
> Z = abs(Z - max(Z)*.3)
> which have a circular minimum at LEVEL=0, but CONTOUR is unable to
> find it!

According to my colleague Matt, what you should see at the
minimum of a contour plot is....nothing! I think I have to
agree. A contour line is suppose to enclose something.
What could be enclosed at the minimum value of a data set?
Right. Nothing.

You could hold a flat sheet of paper under your 2D surface
and draw a line where the surface touched the paper. But
the word for that would be an "etching" or an "imprint",
not a "contour". What you want, and what a contour plot
is designed to give, are two different things. Or at least
it seems that way to us. :-)

Cheers,

David

--
David Fanning, Ph.D.
Coyote's Guide to IDL Programming (www.dfanning.com)
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: @@ Look @@@ Hidden Spy Cams Britney Spears
Next Topic: set map information ERROR, help ,please

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

Current Time: Sun Oct 12 14:47:10 PDT 2025

Total time taken to generate the page: 1.19809 seconds