gsn_panel

From: Mehmet Coskun <mehmet.coskun_at_nyahnyahspammersnyahnyah>
Date: Sun Oct 17 2010 - 16:01:59 MDT

I have three different plot which have three dimensions, how can I draw  fist dimension of 3 plot in a row, second dimension  of  3 plots in a second row, third dimension  of  3 plots in a third row, my script is below,
 
plot_L=new(3,"graphic")
plot_M=new(3,"graphic")
plot_R=new(3,"graphic")

..
..
..

do i=0,2
 plot_L(i) = gsn_csm_contour_map(wks,ypre(i,:,:),resources)
 plot_R(i) = gsn_csm_contour_map(wks,cpre(i,:,:),resources)
plot_M(i) = gsn_csm_contour_map(wks,hpre(i,:,:),resources)
end do

       resP = True
    
       resP@gsnPanelLabelBar    = True                ; add common colorbar
       resP@lbLabelAutoStride   = True
       resP@lbLabelFontHeightF  = 0.0050              ; change font size
       resP@txString            = "precipitation "
       resP@gsnFrame = False
       resP@gsnDraw =False
       resP@gsnPanelRowSpec=False
       gsn_panel(wks,(/plot_L,plot_M,plot_R/), (/3,3/),resP)
     
frame(wks)
end

Thanks
mehmet

 

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Sun Oct 17 16:02:28 2010

This archive was generated by hypermail 2.1.8 : Tue Oct 19 2010 - 14:38:00 MDT