Re: contour/cgcontour question regarding latitude order? [message #84344] |
Fri, 31 May 2013 05:15 |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
rjp23@le.ac.uk writes:
> I'm using cgcontour to plot some temperature data onto a map. It's working great but my latitude array is from 90 to -90 and I found buried in the contour help page that latitude values must be increasing for cell_fill to work correctly.
>
> There's no such disclaimer in cgcontour but as it's built on contour I was wondering if the same applies and if it does, what happens if latitude is descending instead?
In general, cgContour is subject to the same fundamental limitations as
the Contour command, as you point out. But, I've never seen the
restriction you mention (and can't find it now). It sounds to me like
one of those things I would read in the documentation and only half
believe anyway. I think that "monotonically increasing" in the
documentation should always be read as "monotonically increasing or
decreasing". You should give it a try and then give us a report on how
it goes.
Cheers,
David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
|
|
|