<div dir="ltr"><div><div>See also:<br><br><a href="http://www.ncl.ucar.edu/Applications/bootstrap.shtml" target="_blank">http://www.ncl.ucar.edu/Applic<wbr>ations/bootstrap.shtml</a><br><br></div>The two &#39;bootstrap_diff&#39; examples at the end of the example page.<br><br>====<br><br></div><div>re: Mary&#39;s comment:<br><br>&quot;Note that in order to get the X locations for your lines and strings, 
you may want to use the special BeginBarLocs, MidBarLocs, or EndBarLocs 
attributes that are returned when you create a histogram using 
gsn_histogram.&quot;<br><br></div><div>There is a link at the following example:<br><br></div><a href="http://www.ncl.ucar.edu/Applications/Scripts/bootstrap_stat_1a.ncl" target="_blank">bootstrap_stat_1a.ncl</a><br><br>&#39;The procedure which attaches 
the markers to the histogram graphical object is named
<a href="http://www.ncl.ucar.edu/Applications/Scripts/histogram_marker.ncl"><b>histogram_marker.ncl &#39;</b></a><br><br><div>You can download and modify to draw a vertical line: gsn_add_polyline<br><br><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Oct 24, 2016 at 1:05 PM, Mary Haley <span dir="ltr">&lt;<a href="mailto:haley@ucar.edu" target="_blank">haley@ucar.edu</a>&gt;</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">Sitan,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Please be aware that ncl-talk emails are going to hundreds of users, so it&#39;s better not to specifically address NCL developers in a new email thread. </div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I would start by looking at our histogram examples:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Applications/histo.shtml" target="_blank">http://www.ncl.ucar.edu/<wbr>Applications/histo.shtml</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">and in particular, examples histo_6.ncl and histo_11.ncl</div><div class="gmail_default"><br></div><div class="gmail_default">To add the text and lines to the plot, use gsn_add_text and gsn_add_polyline. You can see example histo_16.ncl for this.</div><div class="gmail_default"><br></div><div class="gmail_default">Note that in order to get the X locations for your lines and strings, you may want to use the special BeginBarLocs, MidBarLocs, or EndBarLocs attributes that are returned when you create a histogram using gsn_histogram.</div><div class="gmail_default"><br></div><div class="gmail_default">These attributes are necessary because the X axis values that you see (-2.2, -1.8, -1.4, etc) are not X locations, but rather bin ranges for your data. The three special attributes will give you the X locations for your bars so you can more easily position your text and lines where you want them.</div><div class="gmail_default"><br></div><div class="gmail_default">--Mary</div><div class="gmail_default"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Mon, Oct 24, 2016 at 8:18 AM, Sitan Heyl <span dir="ltr">&lt;<a href="mailto:heylsitan@gmail.com" target="_blank">heylsitan@gmail.com</a>&gt;</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">Hi, Mary<div>   I remember there is one example how to plot histogram like this (attachment). can you give me some suggestion how to plot it?</div><div><br></div><div>Best,</div><div>Yongli</div></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>
<br>______________________________<wbr>_________________<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/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>