Re: Contour filling in Polar Stereo [message #4407] |
Thu, 01 June 1995 00:00 |
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
|
|
|