[Thread Prev][Thread Next][Index]

Re: contour format



> What does the significant digit (nsig) mean in conset? I tried to modify 
> it from nsig=1 to nsig=3. Nothing happened, except when nsig=0.
> 
> What I tried to do is to control the format of contour. i.e. "100" 
> instead of "100."
> 
> Is there a way to remove the "." ?  
> Or, oppositely, can I plot "100.00" instead of "100."?

The best way to control the format of contour labels is to use the
/LEV qualifier on CONTOUR or FILL:

CONTOUR/LEV=(lowerlev,upperlev,interval,flag) variable

The option "flag" tells how many decimal places to use: 0-9 for the 
number of decimal places, -1 for integer labels, -3 for no labels.

To get labels with no decimal point:

CONTOUR/LEV=(0,1000,100,-1) variable

To get labels like "100.00" (why?):

CONTOUR/LEV=(0,1000,100,2) variable

I forget how to use the nsig argument to CONSET. 

The only way I use CONSET is to force labels to be more frequent.
The last (8th) argument to CONSET gives the distance (in inches)
between contour labels along each contour. However this command 
obviously interacts with the other ways the contour routine is 
making this calculation, so results can be unpredictable. YMMV.

CONTOUR/SET variable
PPL CONSET,,,,,,,,1.
PPL CONTOUR

This tries to force contour labels 1 inch apart along each contour.
Experimentation is required!

Billy K


[Thread Prev][Thread Next][Index]

Dept of Commerce / NOAA / OAR / PMEL / TMAP

Contact Us | Privacy Policy | Disclaimer | Accessibility Statement