<div dir="ltr"><div class="gmail_default" style="font-size:small">In order to use "gsn_add_text", which attaches text to a plot, you must give it X and Y coordinates that fall in the range of your plot's coordinate space.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Your plot "mp" is in lat/lon coordinates, going from about 5 to 21 degrees north, and 69 to 86 degrees east. Thus, the "x" input to gsn_add_text should be a longitude value that's in the 69-86 range, while the "y" input should be in the latitude range 5-21.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Just for fun, try the same values you have for your commented call to gsn_add_polymarker:</div><div class="gmail_default" style="font-size:small">
<p class=""><span class=""> KKA_text = gsn_add_text(wks,mp,"KKA",77.56,12.98,txres) </span></p><p class=""><span class="">--Mary</span></p><p class=""><span class=""><br></span></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 2, 2016 at 10:00 PM, Geeta Geeta <span dir="ltr"><<a href="mailto:geetag54@yahoo.com" target="_blank">geetag54@yahoo.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:HelveticaNeue,Helvetica Neue,Helvetica,Arial,Lucida Grande,Sans-Serif;font-size:16px"><div><span>Hi. </span></div><div dir="ltr"><span>I have to add a text to my plot. I am unable to find out the postion of the (xand Y points) of the plot. Changed randomly many values to the x and y cordinates but unable to add the text. </span></div><div dir="ltr"><span>I am attaching my plot and the ncl file</span></div><span class="HOEnZb"><font color="#888888"><div></div><div> </div><div>Geeta.</div></font></span></div></div><br>_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">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>