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

Home » Public Forums » archive » Re: Contour filling in Polar Stereo
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 in Polar Stereo [message #4407] Thu, 01 June 1995 00:00
afl is currently offline  afl
Messages: 51
Registered: December 1994
Member
In article <3qkog1$47l@kwuz.nerc-keyworth.ac.uk>, wmc@unixa.nerc-keyworth.ac.uk
(William Connolley) writes:
|> Having spent a day over this, I thought I'd share the results...
|>
|> I have geographical data, and use polar stereos (around the S pole).
|> Simple contours are fine, but filled ones cause trouble. OK, so the manual
|> says that this is liable to happen with certain projections. What I have
|> found is that filling works, but only if you specify CELL_FILL and *don't*
|> specify C_LABEL. Since my "contour wrapper" routine added c_labels
|> automatically,
|> my routine kept screwing up.
|>
|> So, if I have a question, it is: why does c_label stop the fill working?



Here's my guess!

When you are contour filling you cannot see the contour labels anyway!
IDL is confused by the request for labels which will be invisible.
As an example, try the following...

Example 1: contour, dist(20), /follow, /cell_fill, /xs, /ys
Example 2: contour, dist(20), /cell_fill, /xs, /ys

Notice the first example asks for line labeling, and the cell_fill
option goes ignored, whereas the second example gets cell_filled, but
there are, of course, no line labels. For example 2, and for your
problem, use /over to get the line labels. For example 2 one could add...

contour, dist(20), /over, /follow, color=1 ;Choose a visible color entry

--

Andrew F. Loughe email: afl@cdc.noaa.gov
University of Colorado, CIRES voice: (303) 492-0707
Campus Box 449 fax: (303) 497-7013
Boulder, CO 80309-0449 USA

--

Andrew F. Loughe email: afl@cdc.noaa.gov
University of Colorado, CIRES voice: (303) 492-0707
Campus Box 449 fax: (303) 497-7013
Boulder, CO 80309-0449 USA
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: Why IDL Is Not My Favorite Platform (was Re: IDL alternatives?)
Next Topic: Re: Input buffer limits

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

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

Total time taken to generate the page: 0.00457 seconds