[ncl-talk] label values

Buzan, Jonathan R jbuzan at purdue.edu
Mon Nov 21 08:54:40 MST 2016


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?

-------------- next part --------------
A non-text attachment was scrubbed...
Name: PastedGraphic-1.pdf
Type: application/pdf
Size: 75904 bytes
Desc: PastedGraphic-1.pdf
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161121/32320e44/attachment.pdf 
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: ATT00001.txt
Url: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161121/32320e44/attachment.txt 


More information about the ncl-talk mailing list