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

Home » Public Forums » archive » contour filling maps
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: contour fill [message #21377 is a reply to message #13569] Fri, 25 August 2000 00:00 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Stephen O'Sullivan (so@amsta.leeds.ac.uk) writes:

> I am trying to get IDL to isolate the values contained within a closed
> contour of a plotted data array. Basically, I want to perform a
> calculation using these values instead of cloouring them in like /fill
> does.
>
> Any help would be greatly appreciated!

valuesIwant = Where(dataArray GE lowContourLevel $
AND dataArray LE highContourLevel)
result = Mean(dataArray[valuesIwant])

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Previous Topic: HDF-EOS functions with IDL5.2
Next Topic: More WIN/UNIX -> MAC transitions

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

Current Time: Wed Oct 08 18:13:40 PDT 2025

Total time taken to generate the page: 0.00356 seconds