<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style id="owaParaStyle" type="text/css">P {margin-top:0;margin-bottom:0;}</style>
</head>
<body ocsi="0" fpstyle="1">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">Hi All NCL Users<br>
<br>
I am having a slight problem trying to draw a panel plot, without intially drawing the 3 plots separately. I have used the function res@gsnDraw = False and res@gsnFrame = False for all my plots so I am not sure why they are plotting beforehand.<br>
<br>
The only thing I can think of is that when I overlay the plots they draw then and I am not sure how to stop that.<br>
<br>
Below is a snippet of my code that should be relevant to this problem.<br>
<br>
I would just like it to output one frame with 3 panel plots in it and currently it is plotting the 3 plots overlaid upon one another and then the 3 panel plot. I just want the latter.<br>
<br>
Many thanks for your help in advance.<br>
<br>
Kindest regards<br>
Melissa<br>
<br>
<br>
zres@gsnLeftString = "a.) CMIP5 MME BIAS (qu;qv)"<br>
plot_a = gsn_csm_contour_map(wks,W4(0,:,:),zres)<br>
plot_b = gsn_csm_vector(wks,U3(0,:,:),V3(0,:,:),sres) <br>
<br>
overlay(plot_a,plot_b)<br>
plot(0)=plot_a<br>
<br>
ures@gsnLeftString = "b.) BIAS: MME q & obs uv"<br>
plot_c = gsn_csm_contour_map(wks,speedq(0,:,:),ures)<br>
plot_d = gsn_csm_vector(wks,uq1q(0,:,:),vq1q(0,:,:),sres) <br>
<br>
overlay(plot_c,plot_d)<br>
plot(1)=plot_c<br>
<br>
qres@gsnLeftString = "c.) BIAS: MME uv & obs q"<br>
plot_e = gsn_csm_contour_map(wks,speeduv(0,:,:),qres)<br>
plot_f =gsn_csm_vector(wks,uq1uv(0,:,:),vq1uv(0,:,:),res) <br>
<br>
overlay(plot_e,plot_f)<br>
plot(2)=plot_e<br>
<br>
<br>
resP = True ; modify the panel plot<br>
resP@txString = ""<br>
resP@gsnPanelLabelBar = True ; add common colorbar<br>
resP@lbTitleOn = True ; turn on title<br>
resP@lbTitleString = "g/kg*m/s" ; title string<br>
resP@lbTitlePosition = "Right" ; title position<br>
resP@lbTitleFontHeightF= .015 ; make title smaller<br>
resP@lbTitleDirection = "Across" ; title direction<br>
resP@pmLabelBarOrthogonalPosF = 0.075 ; move whole thing down<br>
<br>
resP@lbLabelStride = 2 ; skip every other label<br>
maximize_output(wks,resP)<br>
resP@cnFillOn = True ; color on<br>
resP@cnInfoLabelOn = False ; turn off info label<br>
resP@gsnPanelRowSpec = True ; tell panel what order to plt<br>
<br>
gsn_panel(wks,plot,(/2,1/),resP)<br>
<br>
<br>
end<br>
<br>
</div>
</body>
</html>