<div dir="ltr">Hello,<div>You can control the line labeling but only to a certain degree. You cannot however set resources to instruct NCL to only label each line once. </div><div><br></div><div>In my experience you will have to go through some trial and error to get what you want. You can try these different combinations of resources:</div><div>Method 1</div><div>res@cnLineLabelPlacementMode = &quot;Computed&quot;</div><div>res@cnLineLabelDensityF = 0.5  ; will have to adjust<br></div><div><br></div><div>Method 2</div><div>res@cnLineLabelPlacementMode = &quot;Randomized&quot;<br></div><div>res@cnLineLabelDensityF = 0.5  ; will have to adjust<br></div><div><br></div><div>Method 3</div><div><div>res@cnLineLabelPlacementMode = &quot;Constant&quot;<br></div><div>res@cnLineDashSegLenF = 0.07   ; will have to adjust</div></div><div><br></div><div>All three methods require you to experiment with the settings of the second resource. Finally, note that cnLineLabelCount is a read-only resource, so setting that resource will not result in any plot changes. </div><div><br></div><div><a href="http://www.ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnLineLabelPlacementMode">http://www.ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnLineLabelPlacementMode</a><br></div><div><a href="http://www.ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnLineLabelDensityF">http://www.ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnLineLabelDensityF</a><br></div><div><a href="http://www.ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnLineDashSegLenF">http://www.ncl.ucar.edu/Document/Graphics/Resources/cn.shtml#cnLineDashSegLenF</a></div><div><br></div><div>Hope that helps. If not, or if you have any further questions please respond to ncl-talk.</div><div>Adam</div><div><br></div><div><br></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, Jan 24, 2016 at 11:21 PM, Sandeep K. K. <span dir="ltr">&lt;<a href="mailto:sandeep.ocngr@gmail.com" target="_blank">sandeep.ocngr@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello Everyone,<br></div>I wanted to plot a contour line figure of my variable. I could plot as the attached figure. But I wanted the line labelling of each contour to be appear only once. Here you can see in the attached figure that labelling for the 110 contour line appears 5 times, and similarly some others. Is it possible to control the line labelling?. I tried with <br><br>res@cnLineLabelDensityF and <br>res@cnLineLabelCount But was not successful. I would be grateful for any help or suggestions.<br></div>
<br>_______________________________________________<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/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist,  </font></span><span><font color="#888888">Climate and Global Dynamics Laboratory, NCAR<br></font></span></div></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphilli/</a>   </font></span><span><font color="#888888">303-497-1726 </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>
</div>