<div dir="ltr"><div style="font-size:13px"><span style="font-size:21px">Vanucia, </span></div><div style="font-size:13px"><span style="font-size:21px"><br></span></div><div style="font-size:13px"><span style="font-size:21px">There are many ways to do this, you could set the below, so that</span></div><div><span style="font-size:21px"><b>panres@gsnPanelCenter = False</b></span></div><div><span style="font-size:21px"> so that the bottom panel is not centered. Then tell ncl where to draw the last plot, based on </span></div><div><span style="font-size:21px"><b>res1@vpXF</b></span></div><div><span style="font-size:21px"><b>res1@vpYF </b></span></div><div><span style="font-size:21px"><b>res1@vpHeightF</b></span></div><div><span style="font-size:21px"><b>res1@vpWithdF</b></span></div><div><span style="font-size:21px">to get the layout correct. </span></div><div><span style="font-size:21px"><br></span></div><div><span style="font-size:21px"><br></span></div><div><span style="font-size:21px">The other option, which may be easier if it works. panel the top 12 together then panel the bottom two together. The panelling script should pull the label bar from the last plot so panel2 should have the desired labelbar next to it. You may need to play around with numbers. </span></div><div><span style="font-size:21px"><br></span></div><div style="font-size:13px"><br></div><div style="font-size:13px"><span style="font-size:21px"><br></span></div><div style="font-size:13px"><span style="font-size:21px">panres1@gsnPanelBottom = 0.4 </span><span style="font-size:21px"><br></span></div><div style="font-size:13px"><span style="font-size:21px">panel1=gsn_panel_return(wks,(/plot0,plot2,plot3,plot4,plot5,plot6,plot7,plot8,plot9,plot10,plot11,plot12/),(/6,2/),panres1) </span></div><div style="font-size:13px"><span style="font-size:21px"><br></span></div><div style="font-size:13px"><span style="font-size:21px">panres1@gsnPanelTop = 0.4 </span><br></div><div style="font-size:13px"><span style="font-size:21px">panres1@gsnPanelBottom = 0.3 </span><br></div><div style="font-size:13px"><span style="font-size:21px">panel2= gsn_panel_return(wks,(/plot13,plot1/),(/1,2/),panres1) </span></div><div style="font-size:13px"><span style="font-size:21px"><br></span></div><div style="font-size:13px"><span style="font-size:21px">Good luck with it,</span></div><div style="font-size:13px"><span style="font-size:21px">Alan. </span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 6, 2015 at 6:37 PM, Vanúcia Schumacher <span dir="ltr"><<a href="mailto:vanucia-schumacher@hotmail.com" target="_blank">vanucia-schumacher@hotmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div dir="ltr"><span style="font-size:21px">I would like to plot the Plot1 beside to the plot0 with different labelbar</span><span style="font-size:21px">, but I can not. Can anyone help with this?! </span><span style="font-size:21px">Figure (attached). Are 13 pictures of models and 1 with different LabelBar</span><div><span style="font-size:21px"><br></span></div><div><span style="font-size:21px"><br></span></div><div><span style="font-size:21px">....</span></div><div><div><span style="font-size:21px">res@gsnCenterString = "BCC-CSM1.1-CFSR Anomalies" </span></div><div><span style="font-size:21px"> res@gsnStringFontHeightF = 0.025</span></div><div><span style="font-size:21px"> plot0 = gsn_csm_contour_map_ce(wks,a0,res)</span></div><div><span style="font-size:21px"><br></span></div><div><span style="font-size:21px"> res1 =res</span></div><div><span style="font-size:21px"> res1@gsnCenterString = "CFSR (CTRL) mean ZG-500 hPa " </span></div><div><span style="font-size:21px"> res1@cnMinLevelValF = 5000 ; min level</span></div><div><span style="font-size:21px"> res1@cnMaxLevelValF = 5800 ; max level</span></div><div><span style="font-size:21px"> res1@cnLevelSpacingF = 10 ; contour interval </span></div><div><span style="font-size:21px"> res1@cnFillPalette = "BlueYellowRed" </span></div><div><span style="font-size:21px"> res1@gsnStringFontHeightF = 0.025</span></div><div><span style="font-size:21px"> plot1 = gsn_csm_contour_map_ce(wks,var,res1)</span></div><div><span style="font-size:21px"><br></span></div><div><span style="font-size:21px">....</span></div><div><div><span style="font-size:21px">; create panel</span></div><div><span style="font-size:21px">;************************************************</span></div><div><span style="font-size:21px"> ; resP = True ; modify the panel plot</span></div><div><span style="font-size:21px"> ; resP@gsnPanelLabelBar = True ; add common colorbar</span></div><div><span style="font-size:21px"> ; resP@lbLabelFontHeightF = 0.007 ; make labels smaller</span></div><div><span style="font-size:21px"><br></span></div><div><span style="font-size:21px"> panres1 = True ; modify the panel plot</span></div><div><span style="font-size:21px"> panres1@gsnFrame = False ; don't advance frame yet</span></div><div><span style="font-size:21px"> panres1@gsnPanelLabelBar = True ; add common colorbar</span></div><div><span style="font-size:21px"> panres1@gsnPanelTop = 0.95 ; Make sure not too close to </span></div><div><span style="font-size:21px"> panres1@gsnPanelBottom = 0.35 ; edge, so it maximizes better.</span></div><div><span style="font-size:21px"> panres1@lbLabelAutoStride = True</span></div><div><span style="font-size:21px"> panres1@lbOrientation = "vertical"</span></div><div><span style="font-size:21px"> panres1@pmLabelBarWidthF = 0.075 ; make thinner</span></div><div><span style="font-size:21px"> panres1@pmLabelBarHeightF = 0.25</span></div><div><span style="font-size:21px"><br></span></div><div><span style="font-size:21px"> panel1=gsn_panel_return(wks,(/plot0,plot2,plot3,plot4,plot5,plot6,plot7,plot8,plot9,plot10,plot11,plot12,plot13/),(/7,2/),panres1) </span></div><div><br></div><div><span style="font-size:21px"> panel2= gsn_panel_return(wks,plot1,(/1,1/),panres1) </span></div><div style="font-size:21px"><br></div></div><div><span style="font-size:21px"><br></span></div><div style="font-size:21px"><br></div></div>                                            </div></div>
<br>_______________________________________________<br>
ncl-talk mailing list<br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" target="_blank">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>