<div dir="ltr">Hi all,<div><br></div><div>For my plots, I used this scripts to create multiple panels with common label bar, this time i have panels those label bars are different, how can I add label bar individually under each panel? </div><div><br></div><div><br></div><div><br></div><div><br></div><div><div>wks = gsn_open_wks("eps","Low_clouds_ann")</div><div>;gsn_define_colormap(wks,"BlAqGrYeOrRe")</div><div>gsn_define_colormap(wks,"BlWhRe")</div><div> plot = new(4,graphic)  Â </div><div>;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</div><div>  res  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â = True  Â  Â  Â  Â  Â  Â  Â ; plot mods desired</div><div>  res@cnFillOn  Â  Â  Â  Â  Â  = True  Â  Â  Â  Â  Â  Â  ; turn on color  Â </div><div>  res@gsnSpreadColors  Â  Â = True  Â  Â  Â  Â  Â  Â  Â ; use full color map</div><div>  res@cnLinesOn  Â  Â  Â  Â  Â = False  Â  Â  Â  Â  Â  Â  ; no contour lines</div><div>  res@cnLineLabelsOn  Â  Â  = False  Â  Â  Â  Â  Â  Â  ; no line labels</div><div><br></div><div><br></div><div> ; res@gsnAddCyclic  Â  Â  Â  = False </div><div>  res@gsnDraw  Â  Â  Â  Â  Â  Â = False  Â  Â  Â  Â  Â ; don't draw</div><div>  res@gsnFrame  Â  Â  Â  Â  Â  = False  Â  Â  Â  Â  Â ; don't advance frame</div><div>  res@cnInfoLabelOn  Â  Â  Â = False  Â  Â  Â  Â  Â ; turn off cn info label</div><div>  res@cnFillOn  Â  Â  Â  Â  Â  = True  Â  Â  Â  Â  Â  ; turn on color</div><div>  res@gsnSpreadColors  Â  Â = True  Â  Â  Â  Â  Â  ; spread out color table</div><div>  res@gsnSpreadColorStart = 2  Â  Â  Â  Â  Â  Â  Â ; color to startt</div><div><br></div><div>  res@lbLabelBarOn  Â  Â  Â  = False  Â  Â  Â  Â  Â ; turn off individual cb's</div><div><br></div><div>;  res@cnLevelSelectionMode =  "AutomaticLevels"  Â ; AutomaticLevels</div><div><br></div><div><br></div><div>  res@cnLevelSelectionMode =  "ManualLevels"  Â ; AutomaticLevels</div><div>  res@cnMinLevelValF  Â  Â  Â = -20.  Â  Â  Â  Â  Â  Â  ; min level</div><div>  res@cnMaxLevelValF  Â  Â  Â =  20.  Â  Â  Â  Â  Â  Â  Â ; max level</div><div>  res@cnLevelSpacingF  Â  Â  =  2  Â  Â  Â  Â  Â  Â  Â  ; interval</div><div><br></div><div><br></div><div>;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;</div><div><br></div><div>res@gsnLeftString  Â  Â  Â = "CAM4 F_compset"  Â  Â  Â  Â ; change left string</div><div>plot(0) = gsn_csm_contour_map_ce(wks,low_ann_cam4_F,res)</div><div>res@gsnLeftString  Â  Â  Â = "CAM4 E_compset"  Â  Â  Â  Â ; change left string</div><div>plot(1) = gsn_csm_contour_map_ce(wks,low_ann_cam4_E,res)</div><div>res@gsnLeftString  Â  Â  Â = "CAM5"  Â  Â  Â  Â ; change left string</div><div>plot(2) = gsn_csm_contour_map_ce(wks,low_ann_cam5,res)</div><div>res@gsnLeftString  Â  Â  Â = "GFDL"  Â  Â  Â  Â ; change left string</div><div>plot(3) = gsn_csm_contour_map_ce(wks,low_ann_gfdl,res)</div><div><br></div><div><br></div><div>; ========================= PLOT 2 ==============================</div><div> res2 = True  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  ; res2 probability plots</div><div><br></div><div><br></div><div>  res2@gsnDraw  Â  Â  Â  Â  Â  Â  = False  Â  Â  Â  Â  Â ; Do not draw plot</div><div>  res2@gsnFrame  Â  Â  Â  Â  Â  Â = False  Â  Â  Â  Â  Â ; Do not advance frame</div><div> </div><div>  res2@cnInfoLabelOn  Â  Â  Â = False  Â  Â  Â ; turn off info label</div><div><br></div><div>  res2@cnLinesOn  Â  Â  Â  Â  Â = False  Â  Â  Â ; do not draw contour lines</div><div>  res2@cnLineLabelsOn  Â  Â  = False  Â  Â  Â ; do not draw contour labels</div><div><br></div><div>  res2@cnFillScaleF  Â  Â  Â  = 0.6  Â  Â  Â  Â ; add extra density</div><div>;  delete(alpha@long_name)</div><div>;  delete(alpha@units)  </div><div>  res2@gsnAddCyclic = False</div><div><br></div><div>plot2  Â = gsn_csm_contour(wks,alphat_low_ann_cam4_F, res2) </div><div>plot2  Â = ShadeGtContour(plot2, 0.05, 17)  ; shade all areas less than the</div><div>  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â  Â ; 0.05 contour level</div><div>plot3  Â = gsn_csm_contour(wks,alphat_low_ann_cam4_E, res2) </div><div>plot3  Â = ShadeGtContour(plot3, 0.05, 17)</div><div><br></div><div>plot4  Â = gsn_csm_contour(wks,alphat_low_ann_cam5, res2) </div><div>plot4  Â = ShadeGtContour(plot4, 0.05, 17)</div><div><br></div><div>plot5  Â = gsn_csm_contour(wks,alphat_low_ann_gfdl, res2) </div><div>plot5  Â = ShadeGtContour(plot5, 0.05, 17)</div><div><br></div><div><br></div><div><br></div><div>overlay (plot(0), plot2)</div><div>overlay (plot(1), plot3)</div><div>overlay (plot(2), plot4)</div><div>overlay (plot(3), plot5)</div><div><br></div><div><br></div><div><br></div><div>;************************************************</div><div>; create panel</div><div>;************************************************</div><div>  resP  Â  Â  Â  Â  Â  Â  Â  Â  = True  Â  Â  Â  Â  Â  Â  Â  Â  Â  ; modify the panel plot</div><div><br></div><div>  resP@gsnPanelLabelBar = True  Â  Â  Â  Â  Â  Â  Â  Â  Â  ; add common colorbar</div><div>  resP@gsnPanelFigureStrings = (/"a)","b)","c)","d)"/)  Â  Â  ; add strings to panel</div><div>resP@txString  Â  Â  Â  Â = "Low clolud changes"  Â  Â </div><div>resP@lbTitleString  Â  = "%"  Â  Â  Â  Â  Â  Â  Â  ; title string</div><div>resP@lbTitlePosition  = "Right"  Â  Â  Â  Â  Â  Â  ; title position</div><div>resP@lbTitleFontHeightF= .02  Â  Â  Â  Â  Â  Â  Â  ; make title smaller</div><div>resP@lbTitleDirection = "Across"  Â  Â  Â  Â  Â  Â ; title direction</div><div>gsn_panel(wks,plot,(/2,2/),resP)  </div><div><br></div><div><br></div><div>delete(plot)</div><div>delete(res)</div><div>delete(resP)</div><div>delete(wks)</div></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div>Thank you,</div><div>Ana</div></div>