<div dir="ltr">Hi All,<div>I am trying to generate a bar plot diagram and would like override the default X-axis labels with the text labels. I am trying 'res@tmXBLabels' but it doesn't work. My code is given below.</div><div><br></div><div>Thanks.</div><div>SBR</div><div><br></div><div><div>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_code.ncl"</div><div>load "$NCARG_ROOT/lib/ncarg/nclscripts/csm/gsn_csm.ncl"</div><div><br></div><div>begin</div><div><br></div><div>;********************************************************</div><div>; the data</div><div>;********************************************************</div><div>  x = (/1,2,3,4,5,6,7,8,9,10,11,12/)</div><div>  y = (/0.32, 0.29, 0.71, 0.09, 0.02, 0.57, 0.62, 0.85, 0.84, 0.12, 0.29, 0.36/)</div><div>  labels = (/"A","B","C","D","E","F","G","H","I","J","K","L"/)</div><div>;********************************************************</div><div>; create the plot</div><div>;********************************************************</div><div>  wks = gsn_open_wks("png","bar_plot")                  ; send graphics to PNG file</div><div>  res                       = True                 ; plot mods desired</div><div><br></div><div>;  res@gsnFrame              = False                ; don't advance frame yet</div><div>  res@gsnXYBarChart         = True                 ; turn on bar chart</div><div>  res@gsnXYBarChartBarWidth = 0.75                 ; change bar widths</div><div>  res@gsnXYBarChartColors = (/"firebrick","red","orange","green", \</div><div>  "navy","blue","SkyBlue","SlateBlue","navy","blue","SkyBlue","SlateBlue"/)            ; choose colors</div><div><br></div><div>  res@tmXBOn                = True                ; turn off tickmarks at bot</div><div>  res@trYMinF               = 0                    ; bring bars down to zero</div><div>  res@trXMinF               = 0                    ; adds space on either end</div><div>  res@trXMaxF               = 13                    ; of the 1st and last bars</div><div><br></div><div>  res@tmXBLabels          = (/"A","B","C","D","E","F","G","H","I","J","K","L"/)</div><div><br></div><div>  res@tiMainString          = "Corelation"</div><div>  plot = gsn_csm_xy (wks,x, y,res)                  ; create plot</div><div><br></div><div>end</div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div></div>