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

Home » Public Forums » archive » Re: contour labels question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: contour labels question [message #24101] Thu, 08 March 2001 13:54 Go to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Pavel A. Romashkin (pavel.romashkin@noaa.gov) writes:

> Paul van Delst wrote:
>>
>> The docs for the C_LABELS keyword for CONTOUR tell me:
>>
>> "C_LABELS
>> Specifies which contour levels should be labeled. By default, every other contour level
>> is labeled."
>>
>> I don't get *any* labeling by default. Is there something other that needs to be done?
>
> It implies that you need to specify the obsolete FOLLOW keyword by
> default, so that you get the labels by default :-)

I'm not sure the documentation *implies* this, but
Pavel is correct. To get contour labels on every other
contour line, the simplest thing to do is set the FOLLOW
keyword. If you want labels on *every* line (at least
every line that can *fit* contour labels according to
some unpublished algorithm), you can try this:

nlev = 12
Contour, z, x, y, NLevels=nlev, C_Labels=Replicate(1, nlev)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: contour labels question
Next Topic: Re: printing floats/integer

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

Current Time: Wed Oct 08 14:56:58 PDT 2025

Total time taken to generate the page: 0.00173 seconds