<div dir="ltr"><div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Hi Barry,</div><div><br></div><div>You might be able to use "datatondc()" to get the NDC coordinates of the tops of the bars, and then use gsn_text_ndc() to draw your annotation (applying a small offset in x and/or y direction to properly position it). The example on the datatondc() does something similar, but with markers rather than text.<br></div><div><br></div><div> <a href="http://ncl.ucar.edu/Document/Functions/Built-in/datatondc.shtml">http://ncl.ucar.edu/Document/Functions/Built-in/datatondc.shtml</a></div><div> <a href="http://ncl.ucar.edu/Document/Graphics/Interfaces/gsn_text_ndc.shtml">http://ncl.ucar.edu/Document/Graphics/Interfaces/gsn_text_ndc.shtml</a><br></div></div></div></div><div><br></div><div>Hope that helps...</div><div>Rick<br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Feb 16, 2019 at 11:05 PM Barry Lynn <<a href="mailto:barry.h.lynn@gmail.com">barry.h.lynn@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hello:<div><br></div><div>I have a bar chart attached. </div><div><br></div><div>I would like to place a number (I will generate it) above the position of the bar highest bar, centered at each labeled (x-axis) interval.</div><div><br></div><div>Is there a straightforward way to do this?</div><div><br></div><div>Thanks,</div><div><br></div><div>Barry</div><div><div><br></div>-- <br><div dir="ltr" class="gmail-m_-5856623679344427183gmail_signature"><div dir="ltr"><div><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior Associate Scientist, Lecturer,</div><div><div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)"></div><span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>C.E.O, Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>Jerusalem, Israel<br>Local: 02 930 9525<br>Cell: 054 7 231 170<br>Int-IS: x972 2 930 9525<br><br></div></div></div></div></div></div></div>
_______________________________________________<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>
</blockquote></div></div>