contour filling maps [message #13569] |
Tue, 17 November 1998 00:00  |
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  |
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
|
|
|