<div dir="ltr">Hi all,<br><div><br></div><div>I have a problem with one f my panel in a plot the Y axis is out. Attached it the plot and you can see the code for plotting here:</div><div><br></div><div><br>;*********************************************************************************<br>res2                   = True                       ; plot mods desired<br>res2@lbLabelFontHeightF =.022<br>res2@gsnStringFontHeightF = 0.025<br><br>res2@gsnDraw = False<br>res2@gsnFrame = False<br>;res2@tiMainString      = "Vertical profile of atmospheric heating rate"             ; add title<br>res2@tiYAxisString = "Pressure (hPa)"  ; xaxis string<br>res2@tiXAxisString = "Atmospheric heating rate (K/day)";Pressure levels (hPa)"<br><br>res2@gsnXRefLine       = 0.    <br>res2@gsnXRefLineDashPatterns = 4<br><br>res2@trYMinF     = 100    ; set minimum Y-axis value<br>res2@trYMaxF     =  1000 ; set maximum Y-axis value<br>res2@trXMinF     = -0.02      ; set minimum X-axis value<br>;res2@trXMaxF     = 0.035      ; set maximum X-axis value<br> res2@trYReverse = True                     ; reverse Y-axis<br>res2@xyDashPattern  = 0                         ; Make curves all solid<br><br><br><br>res2@xyLineThicknesses = (/2.0, 2.0, 2.0/)<br>res2@xyLineColors   = (/"blue","red","green"/) ; 3 different colors<br>; add a legend<br> res2@pmLegendDisplayMode    = "Always"              ; turn on legend<br> <br> res2@pmLegendSide           = "Top"                 ; Change location of <br> res2@pmLegendParallelPosF   = .90                   ; move units right<br> res2@pmLegendOrthogonalPosF = -0.6                  ; more neg = down<br> <br> res2@pmLegendWidthF         = 0.06                  ; Change width and<br> res2@pmLegendHeightF        = 0.25                  ; height of legend.<br> res2@lgLabelFontHeightF     = .015                   ; change font height<br> res2@lgPerimOn              = False                 ; no box around<br>; labels for the legend<br>res2@xyExplicitLegendLabels = (/"Total","Sea","Land"/)<br>;plot  = gsn_csm_xy (wks,Absp3D_fine_no_ds5,lev3,res) ; create plot<br><br><br><br>res2@gsnLeftString       = "                            Global" <br>plot(2)  = gsn_csm_xy (wks,data1,lev3,res2) ; create plot<br>;res2@tmYLLabelsOn   = False    ; no y left tm labels<br>;res2@tiYAxisOn      = False    ; no y-axis title<br>res2@gsnLeftString       = "                       Africa Region" <br>plot(3) = gsn_csm_xy (wks,data2,lev3,res2)<br>;************************************************<br>; create panel<br>;************************************************<br>resP                  = True                    ; modify the panel plot<br>resP@gsnPanelLabelBar = False                  ; add common colorbar<br>resP@gsnPanelFigureStrings = (/"a)","b)","c)","d)"/)      ; add strings to panel<br>gsn_panel(wks,plot,(/2,2/),resP)  <br></div><div><br></div><div><br></div><div>Thanks,</div><div>Ana</div></div>