s = random_normal(0,3,2000) r = True r@bin_max = 5. r@bin_min = -5. y = pdfx(s,10,r) x = y@bin_center ;x = ispan(1,20,1) ;y = x/2. w = gsn_open_wks("eps","bar2") o = True o@gsnDraw = False o@gsnFrame = False o@gsnXYBarChart = True p1 = gsn_csm_xy(w,x,y,o) o@gsnXYBarChartOutlineOnly = True o@xyLineColor = "red" p2 = gsn_csm_xy(w,x,y,o) overlay(p1,p2) draw(p1) frame(w) print("CAUTION: gsnXYBarChartOutlineOnly = True shift the histogram...")