<div dir="ltr">Thanks a lot Mary for quick response. I did download text file provided in link before running annotation_5.ncl. Actually to see values of lons in print statement, I removed minus sign from below statement that leads to blank plot (this I rectify while comparing with your script, thanks for your time). If text file includes all positive lons, why here used minus?   <br><div>  lons       = -tofloat(str_get_field(data,3," "))<br><br>Also what 22 signifies in below statement<br><br>   city_state = str_get_cols(data,22,-1)<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Dec 4, 2017 at 9:32 PM, Mary Haley <span dir="ltr"><<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>></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 class="gmail_default" style="font-size:small">This example works with NCL V6.2.0 (I just verified this). However, I still highly recommend that you upgrade. V6.2.0 is 3.5 years old.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Did you modify annotate_5.ncl at all?  I've attached a version that loops through each city and plots each text string and marker one at a time, just in case.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">This method is NOT recommended as it is slower and more memory intensive.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If this continues to not work for you, then please include the full script and the annotate5.txt file you are using, so we can be sure something else isn't going on.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Mon, Dec 4, 2017 at 3:48 AM, swati shewale <span dir="ltr"><<a href="mailto:shewaleswati16@gmail.com" target="_blank">shewaleswati16@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Dear NCL users<br><br>I wish to add annotations to my plot. I gone through below link. <br><br><a href="https://www.ncl.ucar.edu/Applications/annotate.shtml" target="_blank">https://www.ncl.ucar.edu/Appli<wbr>cations/annotate.shtml</a><br><br>for time being I took example 5 (<a href="https://www.ncl.ucar.edu/Applications/Scripts/annotate_5.ncl" target="_blank">annotate_5.ncl</a>) as it is, It gives me plot without annotation (attached here). Is it because my NCL version is 6.2.0? <br><br></div>
<br></div></div>______________________________<wbr>_________________<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/mailma<wbr>n/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>