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 #64880 is a reply to message #64877] Thu, 29 January 2009 15:14 Go to previous messageGo to previous message
pgrigis is currently offline  pgrigis
Messages: 436
Registered: September 2007
Senior Member
David Fanning wrote:
> 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!

Well, just set your minimum level to min(z)+epsilon,
where epsilon is a small number (i.e. 0.001 in this case),
if you have a very flat bottom you need to contour out.
(but please note that your z does not have a flat bottom,
so it's a poor example...)

Ciao,
Paolo


>
> 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: Sat Oct 11 01:52:52 PDT 2025

Total time taken to generate the page: 0.08092 seconds