<div dir="ltr">Dear NCL experts<div><br></div><div>I&#39;m drawing histogram using, gsn_csm_xy. </div><div>It is very useful for me as it support drawing only outline of the histogram, res@gsnXYBarChartOutlineOnly = True</div><div><br></div><div>But I found this option shifts the histogram half of dx (bin size).</div><div>Is it only my problem or designed like that on purpose? </div><div>I&#39;m using ncl v6.2.0 in MacOS.</div><div><br></div><div>please see my testing example below</div><div>Any comment will be helpful for me!</div><div><br></div><div>Thanks</div><div><br></div><div>----------------------------</div><div><div>s = random_normal(0,3,2000)</div><div>r = True</div><div>r@bin_max =  5.</div><div>r@bin_min = -5.</div><div>y = pdfx(s,10,r)</div><div>x = y@bin_center</div><div><br></div><div>w = gsn_open_wks(&quot;eps&quot;,&quot;bar2&quot;)</div><div>o = True</div><div>o@gsnDraw  = False</div><div>o@gsnFrame = False</div><div>o@gsnXYBarChart = True</div><div>p1 = gsn_csm_xy(w,x,y,o)</div><div>o@gsnXYBarChartOutlineOnly = True</div><div>o@xyLineColor = &quot;red&quot;</div><div>p2 = gsn_csm_xy(w,x,y,o)</div><div>overlay(p1,p2)</div><div>draw(p1)</div><div>frame(w)</div><div><br></div><div>print(&quot;CAUTION: gsnXYBarChartOutlineOnly = True shifts the histogram...&quot;)</div></div><div><div>----------------------------<br></div><div><br></div><div><div><br></div>-- <br><div><div dir="ltr">Joowan Kim<br>Atmospheric Chemistry Division<br>National Center for Atmospheric Research<br>PO Box 3000  Boulder, CO 80307<br><div>e-mail : <a href="mailto:joowan@ucar.edu" target="_blank">joowan@ucar.edu</a><br>           <a href="mailto:joowan.k@gmail.com" target="_blank">joowan.k@gmail.com</a><br></div></div></div>
</div></div></div>