Re: contour filling maps [message #13552] |
Wed, 18 November 1998 00:00 |
M. Hamilton
Messages: 2 Registered: November 1998
|
Junior Member |
|
|
On Tue, 17 Nov 1998, David Fanning wrote:
> M. Hamilton (mh@u.washington.edu) writes:
>> 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...
>
> Ah, oh. Here we go again. Have you tried CELL_FILL?
I see my printed documentation was out of date... cell_fill worked like a
charm (although a little more slowly - but, it worked, which is all I care
about in this case).
Thanks much for the help.
Mike
|
|
|
Re: contour filling maps [message #13558 is a reply to message #13552] |
Wed, 18 November 1998 00:00  |
Vap User
Messages: 31 Registered: April 1998
|
Member |
|
|
"M. Hamilton" <mh@u.washington.edu> writes:
Which version of IDL are you using? Are you using /fill or /cell_fill?
There are some known problems with contour,/cell_fill in IDL 5.0 which
can only be resolved by upgrading. My version of the online help (idl
5.1.1 ) warns that the lon/lat arrays must be monotonically increasing
when filling. (The warning comes in the section devoted to
/cell_fill, but implies the caveat should be followed when using
/fill also) Does you longitude array have a mixture of east and west
longitude? There is also a warning not to fill cylindrical projections
up to the pole, but rather a little shy of the pole, say +/-89.9
instead of =/-90.
>
>
> 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... ???).
>
I was unaware of any such limitation.
> Thanks for the help. Please respond via email also to
> mikeh@pmel.noaa.gov .
>
> Mike
>
> ________________________________________________________
> Michael Hamilton mh@u.washington.edu
> ________________________________________________________
>
>
>
>
--
I don't speak for JPL, it doesn't speak for me.
Well, not all the time, at least.
William Daffer <vapuser@haifung.jpl.nasa.gov>
|
|
|
Re: contour filling maps [message #13564 is a reply to message #13552] |
Tue, 17 November 1998 00:00  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
M. Hamilton (mh@u.washington.edu) writes:
> 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...
Ah, oh. Here we go again. Have you tried CELL_FILL?
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438
E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Progamming: http://www.dfanning.com/
[Note: This follow-up was e-mailed to the cited author.]
|
|
|