<div dir="ltr"><div><div>Also, see:<br><br><a href="http://www.ncl.ucar.edu/Applications/tickmarks.shtml">http://www.ncl.ucar.edu/Applications/tickmarks.shtml</a><br></div>Example 8<br>----<br>This mentions <br><a href="http://www.ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnLineLabelFormat">http://www.ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnLineLabelFormat</a><br><br></div>See the # of significant digits.<br><div> <br><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 21, 2016 at 9:16 AM, Buzan, Jonathan R <span dir="ltr"><<a href="mailto:jbuzan@purdue.edu" target="_blank">jbuzan@purdue.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Thanks! I’ll check this out.<br>
<span class="HOEnZb"><font color="#888888"><br>
-Jonathan<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
> On Nov 21, 2016, at 11:08 AM, Karin Meier-Fleischer <<a href="mailto:meier-fleischer@dkrz.de">meier-fleischer@dkrz.de</a>> wrote:<br>
><br>
> Hi Jonathan,<br>
><br>
> please take a look at lb_7.ncl on the NCL labelbars examples page<br>
> <a href="http://www.ncl.ucar.edu/Applications/labelbar.shtml" rel="noreferrer" target="_blank">http://www.ncl.ucar.edu/<wbr>Applications/labelbar.shtml</a><br>
><br>
> You can define the format of the labelbar labels with the function sprintf.<br>
><br>
> Bye,<br>
> Karin<br>
><br>
>> Am 21.11.2016 um 16:54 schrieb Buzan, Jonathan R <<a href="mailto:jbuzan@purdue.edu">jbuzan@purdue.edu</a>>:<br>
>><br>
>> Hello NCL-Talk,<br>
>><br>
>> I am attempting to make a standardized script that will plot a variety of different data.<br>
>> I want the colors to span a certain spectrum, and I want the values of the labels to be 1-2 decimal places.<br>
>><br>
>> I used the following commands:<br>
>> res@cnLevelSelectionMode = "EqualSpacedLevels"<br>
>> res@cnMaxLevelCount = 11<br>
>><br>
>> 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?<br>
>><br>
>> <PastedGraphic-1.pdf><br>
>><br>
>> -Jonathan<br>
>><br>
>><br>
>> ______________________________<wbr>_________________<br>
>> ncl-talk mailing list<br>
>> <a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
>> List instructions, subscriber options, unsubscribe:<br>
>> <a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
><br>
><br>
><br>
<br>
______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
</div></div></blockquote></div><br></div>