[ncl-talk] label values
Buzan, Jonathan R
jbuzan at purdue.edu
Mon Nov 21 09:16:21 MST 2016
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
>
>
>
More information about the ncl-talk
mailing list