<div dir="ltr"><div class="gmail_default" style="font-size:small">I think the problem is that you haven&#39;t provided enough points in the line to hold the full text.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I tried using some dummy lat/lon values for the polyline (along with a dummy wrfout file), and was able to get the text. Here are the dummy values I used, and the code for drawing the text:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small"><div class="gmail_default"><font face="monospace, monospace">  lat = (/ 30, 31, 32, 35, 37, 40, 41, 42, 43, 44, 45/)</font></div><div class="gmail_default"><font face="monospace, monospace">  lon = (/-95,-94,-90,-90,-90,-88,-87,-87,-85,-83,-82/)</font></div><div class="gmail_default"><font face="monospace, monospace">  gsres = True</font></div><div class="gmail_default"><font face="monospace, monospace">  gsres@gsLineLabelString = &quot;B|a|l|c|o|n|es F|a|u|lt&quot;</font></div><div class="gmail_default"><font face="monospace, monospace">  gsn_polyline(wks,plot,lon(1:),lat(1:),gsres)</font></div></div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">















<p class="">See the attached image.</p><p class=""><br></p><p class="">--Mary</p><p class=""><br></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 14, 2015 at 10:01 AM, xiaoming Hu <span dir="ltr">&lt;<a href="mailto:yuanfangcan@hotmail.com" target="_blank">yuanfangcan@hotmail.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><div dir="ltr">Mary<br><br>Thanks a lot!<br><br>Your template script works on my computer. <br><br>But When I create a new script, it doesn&#39;t work. <br>See <a href="http://www.caps.ou.edu/micronet/HurricaneImpactonO3/WRFV3.6.1/YSU/wrfNARR3dWSM6_CONUS_UCM_YSU.2011080700/test_curvedtext.000001.png" target="_blank">http://www.caps.ou.edu/micronet/HurricaneImpactonO3/WRFV3.6.1/YSU/wrfNARR3dWSM6_CONUS_UCM_YSU.2011080700/test_curvedtext.000001.png</a><br><br>The line shows up, but the Line Label does not show up.  (I tried both version 5.2.1, and 6.1.3)<br>See my script: <br><a href="http://www.caps.ou.edu/micronet/HurricaneImpactonO3/WRFV3.6.1/YSU/wrfNARR3dWSM6_CONUS_UCM_YSU.2011080700/test.ncl" target="_blank">http://www.caps.ou.edu/micronet/HurricaneImpactonO3/WRFV3.6.1/YSU/wrfNARR3dWSM6_CONUS_UCM_YSU.2011080700/test.ncl</a><br><br>Could you please tell me anything wrong? <br><br>Thanks a lot!<span class="HOEnZb"><font color="#888888"><br>Xiaoming <br></font></span><div class="hm HOEnZb"><br></div><div><div class="hm HOEnZb"><hr>Date: Mon, 10 Aug 2015 14:06:57 -0600<br>Subject: Re: [ncl-talk] any easy way to use gsn_text to add curved text?<br>From: <a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a><br>To: <a href="mailto:yuanfangcan@hotmail.com" target="_blank">yuanfangcan@hotmail.com</a><br>CC: <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a></div><div><div class="h5"><br><br><div dir="ltr"><div style="font-size:small">Hi Xiaoming,</div><div style="font-size:small"><br></div><div style="font-size:small">Sorry about the disabling of your membership.  I understand that we are having some problems with the &quot;mailmain&quot; software, and it may have disabled you based on faulty information. We only unsubscribe people ourselves if they starting spamming the group.</div><div style="font-size:small"><br></div><div style="font-size:small">Regarding the curved text question, this is doable via the special &quot;gsLineLabelString&quot; resource and the use of the &quot;|&quot; character, which helps the text follow the curve of the line. Unfortunately, this script does not appears to not be working in NCL versions 6.2.0, 6.2,1, or 6.3.0.  I&#39;ve filed a ticket on this, and am hoping I&#39;m missing something obvious. It works under version 6.1.2 and earlier.</div><div style="font-size:small"><br></div><div style="font-size:small">I&#39;ve attached the example script and image.  Let me know if this is not what you are looking for.  If you have NCL V6.2.x or later and need to use this feature, then I&#39;ll try to get you a fix once we have one.</div><div style="font-size:small"><br></div><div style="font-size:small">--Mary</div><div style="font-size:small"><br></div><div style="font-size:small"><br></div><div style="font-size:small"><br></div><div style="font-size:small"><br></div></div><div><br><div>On Mon, Aug 10, 2015 at 11:44 AM, xiaoming Hu <span dir="ltr">&lt;<a href="mailto:yuanfangcan@hotmail.com" target="_blank">yuanfangcan@hotmail.com</a>&gt;</span> wrote:<br><blockquote style="border-left:1px #ccc solid;padding-left:1ex">


<div><div dir="ltr"><pre>My membership in the mailing list ncl-talk has been disabled during the past few days.</pre>Did anybody post any suggestion on this problem, i.e., add curved text in plot? <br>Thanks<br>Xiaoming <br><br><div><hr>From: <a href="mailto:yuanfangcan@hotmail.com" target="_blank">yuanfangcan@hotmail.com</a><br>To: <a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a><br>Date: Fri, 7 Aug 2015 15:43:30 +0000<br>Subject: [ncl-talk] any easy way to use gsn_text to add curved text?<div><div><br><br>


<div dir="ltr"><div style="display:inline-block">Is there any easy way to add curved text like &quot;Balcones Fault Zone&quot; in the following figure? <br>Thanks a lot!<br>Xiaoming      <span><br><br></span>    <div style="display:inline-block"><img src="cid:inlineImage0" height="508" width="534"></div>    <span> </span></div>                                               </div>
<br></div></div>_______________________________________________
ncl-talk mailing list
<a href="mailto:ncl-talk@ucar.edu" target="_blank">ncl-talk@ucar.edu</a>
List instructions, subscriber options, unsubscribe:
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a></div>                                               </div></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">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></div></div></div></div>                                               </div></div>
</blockquote></div><br></div>