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

Home » Public Forums » archive » Re: 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
Re: contour filling maps [message #13552] Wed, 18 November 1998 00:00
M. Hamilton is currently offline  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 Go to previous message
Vap User is currently offline  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 Go to previous message
davidf is currently offline  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.]
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Assignment, Form 5 (what they didn't tell you in the manuals)
Next Topic: Re: Creating a Run-Time IDL Application

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

Current Time: Wed Oct 08 20:03:43 PDT 2025

Total time taken to generate the page: 0.00942 seconds