<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&nbsp;<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>&nbsp;-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&nbsp; <br><div id="isForwardContent"><div style="line-height: 1.7; color: rgb(0, 0, 0); font-size: 14px; font-family: arial;">&nbsp; res@cnFillOn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; &nbsp;&nbsp; = False&nbsp;&nbsp;&nbsp; <br>&nbsp; res@cnLinesOn&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = True <br>&nbsp; res@cnLevels&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =(/1000.0,1002.5,1005.0,1007.5,1010.0,1012.5/) &nbsp;&nbsp;<br>&nbsp; res@cnLineLabelInterval&nbsp;&nbsp; = 1&nbsp; <br>but the output picture show value 1000 &nbsp;1003&nbsp; 1005&nbsp; 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>&nbsp;</div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span><span>&lt;line.eps&gt;</span><span>&lt;line.ncl&gt;</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>