[ncl-talk] cnConstFLabelFormat

Rick Brownrigg brownrig at ucar.edu
Thu Aug 8 11:40:08 MDT 2019


HI Laura,

Try perhaps *cnLineLabelFormat*.  I think cnConstFLabelFormat refers to
case when the scalar field is covered by a single iso-band and resulting in
no contour lines

Rick

On Thu, Aug 8, 2019 at 11:23 AM Laura Fowler via ncl-talk <ncl-talk at ucar.edu>
wrote:

> 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
>
>
> !-------------------------------------------------------------------------------------------------------------
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20190808/83d5ebbb/attachment.html>


More information about the ncl-talk mailing list