<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">You need to set cnLineLabelFormat. See example tm_8.ncl for examples of formatting strings. The simplest thing you could use is something like "0.5f"<div>See <a href="http://www.ncl.ucar.edu/Document/Graphics/format_spec.shtml">http://www.ncl.ucar.edu/Document/Graphics/format_spec.shtml</a> for details of the formatting scheme.</div><div> -dave</div><div><br><div><div>On Oct 22, 2012, at 5:31 AM, JinQ Liu wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial"><div style="line-height:1.7;color:#000000;font-size:14px;font-family:arial">In script, I use <br><div id="isForwardContent"><div style="line-height: 1.7; color: rgb(0, 0, 0); font-size: 14px; font-family: arial;"> res@cnFillOn = False <br> res@cnLinesOn = True <br> res@cnLevels =(/1000.0,1002.5,1005.0,1007.5,1010.0,1012.5/) <br> res@cnLineLabelInterval = 1 <br>but the output picture show value 1000 1003 1005 1008 on contour lines. it seems the decimal are rounded off.<br>How can I draw original decimal value on contour line?<br>Thanks in advance!<br><br><div><div>Ji
nQ</div></div></div><span title="neteasefooter"><span id="netease_mail_footer"></span></span></div></div><br><br></div><div> </div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span><span><line.eps></span><span><line.ncl></span>_______________________________________________<br>ncl-talk mailing list<br>List instructions, subscriber options, unsubscribe:<br><a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br></blockquote></div><br></div></body></html>