<div dir="ltr"><div>I am trying to do a barplot with vertical error bars that will show the range. But the figure shows bars only, with any error bars associated. What is needed to add error bars in the figure ? </div><div><br></div><div>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"<br>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"<br>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/contributed.ncl"<br>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/shea_util.ncl"<br>;********************************************<br>begin</div><div>     arr =    (/2569,7000,12.25,81.65,58.8/)<br>     minval = (/541,2190,7.83,49.33,38.88/)<br>     maxval = (/4006,10456,19.34,137.7,77.42/)</div><div><br></div><div> wks_type = "png"<br> wname = "bar"<br>   wks = gsn_open_wks(wks_type,wname)</div><div>;************************************************<br>; create panel plots<br>;*************************************************</div><div>  res            = True<br>  res@gsnDraw  = False<br>  res@gsnFrame = False<br>  res@gsnXYBarChart = True                 ; plot mods desired<br>  lres                   = True                    ; polyline mods desired<br>  lres@gsLineColor       = "black"<br>  lres@gsLineThicknessF  = 2.5                     ; thickness of lines<br>  lres@gsLineDashPattern = 0<br>  lres@gsLineColor       = "gray50"</div><div>  </div><div>   plot = gsn_csm_xy(wks,ispan(1,5,1),arr,res)</div><div>   dum = gsn_add_polyline(wks,plot,minval,maxval,lres)</div><div>  </div><div> draw(plot)<br>  frame(wks)</div><div>;********************************************<br>end</div><div><br></div><div>Thanks.</div><div>Debasish</div></div>