[ncl-talk] cnConstFLabelFormat

Laura Fowler laura at ucar.edu
Thu Aug 8 11:22:34 MDT 2019


Hello:

I have a contour levels defined as:

sres at cnLevelSelectionMode = "ExplicitLevels"

sres at cnLevels = (/6.03,12.,20.,28./)

have which I use to plot the attached figure. I would like to change the
label 6.03 to 6 so that it looks like the other labels. I have attempted to
use cnConstFLabelFormat with the help of the "HLU Floating Point Format",
but without too much luck.

Can somebody please help me figure out how to make a "6" label from a 6.03
level (note that using 6. as a level will not work).

Many thanks,
Laura

-- 
!-------------------------------------------------------------------------------------------------------------
Laura D. Fowler

Mesoscale and Microscale Meteorology Division (MMM)
National Center for Atmospheric Research
P.O. Box 3000, Boulder CO 80307-3000

e-mail: laura at ucar.edu
phone: 303-497-1628

!-------------------------------------------------------------------------------------------------------------
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190808/c1c86155/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sst2.1622018.PacificOcean.png
Type: image/png
Size: 98762 bytes
Desc: not available
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190808/c1c86155/attachment.png>


More information about the ncl-talk mailing list