[ncl-talk] label values

Dennis Shea shea at ucar.edu
Mon Nov 21 09:56:56 MST 2016


Also, see:

http://www.ncl.ucar.edu/Applications/tickmarks.shtml
Example 8
----
This mentions
http://www.ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnLineLabelFormat

See the # of significant  digits.



On Mon, Nov 21, 2016 at 9:16 AM, Buzan, Jonathan R <jbuzan at purdue.edu>
wrote:

> Thanks!  I’ll check this out.
>
> -Jonathan
>
>
> > On Nov 21, 2016, at 11:08 AM, Karin Meier-Fleischer <
> meier-fleischer at dkrz.de> wrote:
> >
> > Hi Jonathan,
> >
> > please take a look at lb_7.ncl on the NCL labelbars examples page
> > http://www.ncl.ucar.edu/Applications/labelbar.shtml
> >
> > You can define the format of the labelbar labels with the function
> sprintf.
> >
> > Bye,
> > Karin
> >
> >> Am 21.11.2016 um 16:54 schrieb Buzan, Jonathan R <jbuzan at purdue.edu>:
> >>
> >> Hello NCL-Talk,
> >>
> >> I am attempting to make a standardized script that will plot a variety
> of different data.
> >> I want the colors to span a certain spectrum, and I want the values of
> the labels to be 1-2 decimal places.
> >>
> >> I used the following commands:
> >>   res at cnLevelSelectionMode = "EqualSpacedLevels"
> >>   res at cnMaxLevelCount = 11
> >>
> >> However, I end up with labels that are 5+ decimal places.  Is there a
> way to restrict the number of decimal places on the labels?
> >>
> >> <PastedGraphic-1.pdf>
> >>
> >> -Jonathan
> >>
> >>
> >> _______________________________________________
> >> ncl-talk mailing list
> >> ncl-talk at ucar.edu
> >> List instructions, subscriber options, unsubscribe:
> >> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
> >
> >
> >
>
> _______________________________________________
> 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/20161121/0ff283d0/attachment.html 


More information about the ncl-talk mailing list