Re: multiplot for different aspect ratio

From: juki juki <juky_emc2_at_nyahnyahspammersnyahnyah>
Date: Wed Mar 20 2013 - 20:43:29 MDT

Finally, I used this option: >2) You can individually panel the plots yourself by specifying vpYF, vpXF, vpWidthF, and vpHeightF.  It takes time, but solve the problem. Thanks again joueky ________________________________ From: juki juki <juky_emc2_at_yahoo.com> To: Adam Phillips <asphilli_at_ucar.edu>; "ncl-talk_at_ucar.edu" <ncl-talk_at_ucar.edu> Sent: Thursday, March 21, 2013 10:37 AM Subject: Re: multiplot for different aspect ratio Hi Adam ! Thanks for reply. I tried this opition (resP_at_gsnPanelScalePlotIndex = 1) It overcome such overlapping problem between, but the white space between Plot(0) and Plot(1) or between  Plot(2) and Plot(3) is not the same as those between  Plot(1) and Plot(2) in which the former is larger than the latter. How to make the white space between all plots to be the same/uniform ?? Thanks again for help juokey ________________________________ From: Adam Phillips <asphilli_at_ucar.edu> To: ncl-talk_at_ucar.edu Sent: Thursday, March 21, 2013 2:17 AM Subject: Re: multiplot for different aspect ratio Hi Joueky, gsn_panel was not set up to specifically allow panels of different sizes. In your case, I see 2 possible solutions: 1) Tell NCL to use the size of plot(1) as the panel reference size. See example #24 here: http://www.ncl.ucar.edu/Applications/panel.shtml#ex24 set resP_at_gsnPanelScalePlotIndex = 1 The issue with this approach is that there may be more white space in the Y-direction between some of your plots. You can try decreasing this by setting resP_at_gsnPanelYWhiteSpacePercent = 0.1 See example #6 here: http://www.ncl.ucar.edu/Applications/panel.shtml#ex6 Note though that you will not be able to get rid of all the white space using this method. 2) You can individually panel the plots yourself by specifying vpYF, vpXF, vpWidthF, and vpHeightF. See example #9 here: http://www.ncl.ucar.edu/Applications/panel.shtml#ex9 This is more time-consuming, but you can adjust the spacing of the plots as you would like. Hope that helps. If not, please reply to ncl-talk. Adam On 03/20/2013 08:37 AM, juki juki wrote: Hi all ncl users; > > >I am making multiplot from individual plot with different aspect ratio. In simple, as example 5 plots with the aspect ratio as follow: > > >plot = new(5,graphic) > > > >plot(0)--> vpHeightF     = 0.15 >plot(1)--> vpHeightF     = 0.25 > >plot(2)--> vpHeightF     = 0.15 > >plot(3)--> vpHeightF     = 0.25 > >plot(4)--> vpHeightF     = 0.15 > > > > resP                     = True > >gsn_panel(wks,plot,(/5,1/),resP)               ; now draw as one plot > > > >PROBLEM: some portion of bottom of Plot 1 overlap with Plot 2, and plot 3 overlap with plot 4. How  to overcome such problem ? Thanks again for help. > > >joueky > > > > > > >_______________________________________________ ncl-talk mailing list List instructions, subscriber options, unsubscribe: http://mailman.ucar.edu/mailman/listinfo/ncl-talk -- ______________________________________________________________ Adam Phillips asphilli_at_ucar.edu NCAR/Climate and Global Dynamics Division (303) 497-1726 P.O. Box 3000 Boulder, CO 80307-3000 http://www.cgd.ucar.edu/cas/asphilli _______________________________________________ ncl-talk mailing list List instructions, subscriber options, unsubscribe: http://mailman.ucar.edu/mailman/listinfo/ncl-talk _______________________________________________ ncl-talk mailing list List instructions, subscriber options, unsubscribe: http://mailman.ucar.edu/mailman/listinfo/ncl-talk

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Mar 20 20:43:41 2013

This archive was generated by hypermail 2.1.8 : Fri Mar 22 2013 - 16:45:18 MDT