<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi Wei,</div><div class=""><br class=""></div><div class="">you can do this with the gsLineLabelString resource:</div><div class=""><br class=""></div><div class=""><div class=""><font face="Courier" color="#0042aa" class="">&nbsp; res@gsLineLabelString= "test" &nbsp; &nbsp; &nbsp; &nbsp;; adds a line label string „test"</font></div><br class="Apple-interchange-newline">Take a look at the example polyg_4.ncl at &nbsp;<a href="http://www.ncl.ucar.edu/Applications/polyg.shtml" class="">http://www.ncl.ucar.edu/Applications/polyg.shtml</a></div><div class=""><br class=""></div><div class="">Bye,</div><div class="">Karin</div><br class=""><blockquote type="cite" class="">Am 10.07.2015 um 20:58 schrieb Wei Huang &lt;<a href="mailto:whuang@univ-wea.com" class="">whuang@univ-wea.com</a>&gt;:<br class=""><br class="">Here I mean this email to our friendly ncl users.<br class=""><br class="">At first I want to send to Mary and Dave personally, but I remembered&nbsp;<br class="">That Mary is out of town, and probably Dave as well.<br class=""><br class="">Wei Huang<br class=""><br class=""><br class="">-----Original Message-----<br class="">From: <a href="mailto:ncl-talk-bounces@ucar.edu" class="">ncl-talk-bounces@ucar.edu</a> [<a href="mailto:ncl-talk-bounces@ucar.edu" class="">mailto:ncl-talk-bounces@ucar.edu</a>] On Behalf Of Wei Huang<br class="">Sent: Friday, July 10, 2015 1:53 PM<br class="">To: <a href="mailto:ncl-talk@ucar.edu" class="">ncl-talk@ucar.edu</a><br class="">Subject: [ncl-talk] Label a polyline<br class=""><br class="">Mary and Dave,<br class=""><br class="">In example: <a href="https://www.ncl.ucar.edu/Applications/Scripts/xy_14.ncl" class="">https://www.ncl.ucar.edu/Applications/Scripts/xy_14.ncl</a><br class="">Where we can draw a line and label it:<br class=""><br class="">If I have a isoline info, (lat, lon) info, I can draw a polyline:<br class=""><br class="">plines(n) = gsn_add_polyline(wks, plot, lon, lat, res)<br class=""><br class="">If I know the value of the above isoline/polyline, How can I add a label similar to xy_14 to this polyline?<br class=""><br class="">Or how can I get the similar labeled line?<br class=""><br class="">Thanks,<br class=""><br class="">Wei Huang<br class=""><a href="mailto:whuang@univ-wea.com" class="">whuang@univ-wea.com</a><br class=""><br class=""><br class="">_______________________________________________<br class="">ncl-talk mailing list<br class="">ncl-talk@ucar.edu<br class="">List instructions, subscriber options, unsubscribe:<br class="">http://mailman.ucar.edu/mailman/listinfo/ncl-talk<br class="">_______________________________________________<br class="">ncl-talk mailing list<br class="">ncl-talk@ucar.edu<br class="">List instructions, subscriber options, unsubscribe:<br class="">http://mailman.ucar.edu/mailman/listinfo/ncl-talk<br class=""></blockquote><div class=""><br class=""></div><br class=""></body></html>