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@/gsnPanelScalePlotIndex/
<http://www.ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml#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@gsnPanelYWhiteSpacePercent/
<http://www.ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml#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@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
Received on Wed Mar 20 11:17:13 2013
This archive was generated by hypermail 2.1.8 : Fri Mar 22 2013 - 16:45:18 MDT