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 
Switch to threaded view of this topic Create a new topic Submit Reply
contour filling maps [message #13569] Tue, 17 November 1998 00:00 Go to next message
M. Hamilton is currently offline  M. Hamilton
Messages: 2
Registered: November 1998
Junior Member
hello,

I'm having some trouble filling contours on maps. I'm using a simple
standard cylindrical projection, making an elevation/bathymetry map. If I
go beyond certain regions, the colors get all messed up...

I suspect the problem is related to teh limitation of filling contours or
polygons over maps that cover more than a hemisphere, but, it seems like
there should be a work around (I hope... ???).

Thanks for the help. Please respond via email also to
mikeh@pmel.noaa.gov .

Mike

________________________________________________________
Michael Hamilton mh@u.washington.edu
________________________________________________________
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
  Switch to threaded view of this topic Create a new topic Submit Reply
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 15:57:31 PDT 2025

Total time taken to generate the page: 0.00448 seconds