<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">&lt;<a href="mailto:jbuzan@purdue.edu" target="_blank">jbuzan@purdue.edu</a>&gt;</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>
&gt; On Nov 21, 2016, at 11:08 AM, Karin Meier-Fleischer &lt;<a href="mailto:meier-fleischer@dkrz.de">meier-fleischer@dkrz.de</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi Jonathan,<br>
&gt;<br>
&gt; please take a look at lb_7.ncl on the NCL labelbars examples page<br>
&gt; <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>
&gt;<br>
&gt; You can define the format of the labelbar labels with the function sprintf.<br>
&gt;<br>
&gt; Bye,<br>
&gt; Karin<br>
&gt;<br>
&gt;&gt; Am 21.11.2016 um 16:54 schrieb Buzan, Jonathan R &lt;<a href="mailto:jbuzan@purdue.edu">jbuzan@purdue.edu</a>&gt;:<br>
&gt;&gt;<br>
&gt;&gt; Hello NCL-Talk,<br>
&gt;&gt;<br>
&gt;&gt; I am attempting to make a standardized script that will plot a variety of different data.<br>
&gt;&gt; I want the colors to span a certain spectrum, and I want the values of the labels to be 1-2 decimal places.<br>
&gt;&gt;<br>
&gt;&gt; I used the following commands:<br>
&gt;&gt;   res@cnLevelSelectionMode = &quot;EqualSpacedLevels&quot;<br>
&gt;&gt;   res@cnMaxLevelCount = 11<br>
&gt;&gt;<br>
&gt;&gt; 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>
&gt;&gt;<br>
&gt;&gt; &lt;PastedGraphic-1.pdf&gt;<br>
&gt;&gt;<br>
&gt;&gt; -Jonathan<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;&gt; ______________________________<wbr>_________________<br>
&gt;&gt; ncl-talk mailing list<br>
&gt;&gt; <a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
&gt;&gt; List instructions, subscriber options, unsubscribe:<br>
&gt;&gt; <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>
&gt;<br>
&gt;<br>
&gt;<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>