<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:12pt"><div>Hi Adam !</div><div><br></div><div style="color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; background-color: transparent; font-style: normal;">Thanks for reply. I tried this opition (<span style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;">resP@</span><a rel="nofollow" target="_blank" href="http://www.ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml#gsnPanelScalePlotIndex" style="color: rgb(39, 151, 218); outline: 0px; font-family: Helvetica, Arial, sans-serif; font-size: 12px;"><em>gsnPanelScalePlotIndex</em></a><span style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;">&nbsp;= 1)</span></div><div style="color: rgb(39, 151, 218); font-size: 12px; font-family: Helvetica, Arial, sans-serif; background-color: transparent;
 font-style: italic;"><span style="color: rgb(69, 69, 69); font-family: Helvetica, Arial, sans-serif; font-size: 12px;"><br></span></div><div style="color: rgb(69, 69, 69); font-size: 12px; font-family: Helvetica, Arial, sans-serif; background-color: transparent;">It overcome such overlapping problem between, but the white space between Plot(0) and Plot(1) or between &nbsp;Plot(2) and Plot(3) is not the same as those between &nbsp;Plot(1)&nbsp;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 ??</div><div style="color: rgb(69, 69, 69); font-size: 12px; font-family: Helvetica, Arial, sans-serif; background-color: transparent;"><br></div><div style="color: rgb(69, 69, 69); font-size: 12px; font-family: Helvetica, Arial, sans-serif; background-color: transparent; font-style: normal;">Thanks again for help</div><div style="color: rgb(69, 69, 69); font-size: 12px; font-family:
 Helvetica, Arial, sans-serif; background-color: transparent; font-style: normal;">juokey</div><div style="color: rgb(69, 69, 69); font-size: 12px; font-family: Helvetica, Arial, sans-serif; background-color: transparent; font-style: normal;"><br></div><div style="color: rgb(69, 69, 69); font-size: 12px; font-family: Helvetica, Arial, sans-serif; background-color: transparent;"><br></div><div style="color: rgb(69, 69, 69); font-size: 12px; font-family: Helvetica, Arial, sans-serif; background-color: transparent;"><br></div>  <div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"> <div style="font-family: 'times new roman', 'new york', times, serif; font-size: 12pt;"> <div dir="ltr"> <font size="2" face="Arial"> <hr size="1">  <b><span style="font-weight:bold;">From:</span></b> Adam Phillips &lt;asphilli@ucar.edu&gt;<br> <b><span style="font-weight: bold;">To:</span></b> ncl-talk@ucar.edu <br> <b><span style="font-weight:
 bold;">Sent:</span></b> Thursday, March 21, 2013 2:17 AM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [ncl-talk] multiplot for different aspect ratio<br> </font> </div> <br>
<div id="yiv413010900">
  

    
  
  <div>
    Hi Joueky,<br>
    gsn_panel was not set up to specifically allow panels of different
    sizes. In your case, I see 2 possible solutions:<br>
    1) Tell NCL to use the size of plot(1) as the panel reference size.
    See example #24 here:<br>
    http://www.ncl.ucar.edu/Applications/panel.shtml#ex24<br>
    set resP@<a rel="nofollow" target="_blank" href="http://www.ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml#gsnPanelScalePlotIndex"><i>gsnPanelScalePlotIndex</i></a>
    = 1<br>
    <br>
    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 <a rel="nofollow" target="_blank" href="http://www.ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml#gsnPanelYWhiteSpacePercent"><i>resP@gsnPanelYWhiteSpacePercent</i></a>
    = 0.1 See example #6 here:<br>
    http://www.ncl.ucar.edu/Applications/panel.shtml#ex6<br>
    Note though that you will not be able to get rid of all the white
    space using this method.<br>
    <br>
    2) You can individually panel the plots yourself by specifying vpYF,
    vpXF, vpWidthF, and vpHeightF. See example #9 here:<br>
    http://www.ncl.ucar.edu/Applications/panel.shtml#ex9<br>
    This is more time-consuming, but you can adjust the spacing of the
    plots as you would like. <br>
    <br>
    Hope that helps. If not, please reply to ncl-talk. <br>
    Adam<br>
    <br>
    <div class="yiv413010900moz-cite-prefix">On 03/20/2013 08:37 AM, juki juki
      wrote:<br>
    </div>
    <blockquote type="cite">
      <div style="color: rgb(0, 0, 0); background-color: rgb(255, 255, 255); font-family: arial, helvetica, sans-serif; font-size: 12pt;">
        <div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;">Hi all ncl users;</div>
        <div style="font-family: arial, helvetica, sans-serif; font-size: 12pt;"><br>
        </div>
        <div style="font-family: arial, helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;">I am making multiplot from
          individual plot with different aspect ratio. In simple, as
          example 5 plots with the aspect ratio as follow:</div>
        <div style="font-family: arial, helvetica, sans-serif; font-size: 16px; color: rgb(0, 0, 0); background-color: transparent; font-style: normal;"><br>
        </div>
        <div style="background-color:transparent;">plot =
          new(5,graphic)<br>
        </div>
        <div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; font-style: normal;"><br>
        </div>
        <div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; font-style: normal;">plot(0)--&gt; vpHeightF &nbsp; &nbsp; = 0.15</div>
        <div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; font-style: normal;">plot(1)--&gt; vpHeightF &nbsp; &nbsp; = 0.25<br>
        </div>
        <div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; font-style: normal;">plot(2)--&gt; vpHeightF &nbsp; &nbsp; = 0.15<br>
        </div>
        <div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; font-style: normal;">plot(3)--&gt; vpHeightF &nbsp; &nbsp; = 0.25<br>
        </div>
        <div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; font-style: normal;">plot(4)--&gt; vpHeightF &nbsp; &nbsp; = 0.15<br>
        </div>
        <div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; font-style: normal;"><br>
        </div>
        <div style="background-color:transparent;">&nbsp;resP &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
          &nbsp; &nbsp; &nbsp; = True<br>
        </div>
        <div style="background-color:transparent;">gsn_panel(wks,plot,(/5,1/),resP)
          &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; ; now draw as one plot<br>
        </div>
        <div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; font-style: normal;"><br>
        </div>
        <div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; font-style: normal;">PROBLEM: some portion of bottom of Plot 1
          overlap with Plot 2, and plot 3 overlap with plot 4. How &nbsp;to
          overcome such problem ? Thanks again for help.</div>
        <div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; font-style: normal;"><br>
        </div>
        <div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; font-style: normal;">joueky</div>
        <div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; font-style: normal;"><br>
        </div>
        <div style="background-color: transparent; color: rgb(0, 0, 0); font-size: 16px; font-family: arial, helvetica, sans-serif; font-style: normal;"><br>
        </div>
      </div>
      <br>
      <fieldset class="yiv413010900mimeAttachmentHeader"></fieldset>
      <br>
      <pre>_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
</pre>
    </blockquote>
    <br>
    <pre class="yiv413010900moz-signature">-- 
______________________________________________________________
Adam Phillips                                <a rel="nofollow" class="yiv413010900moz-txt-link-abbreviated" ymailto="mailto:asphilli@ucar.edu" target="_blank" href="mailto:asphilli@ucar.edu">asphilli@ucar.edu</a>
NCAR/Climate and Global Dynamics Division       (303) 497-1726    
P.O. Box 3000                                  
Boulder, CO 80307-3000    http://www.cgd.ucar.edu/cas/asphilli
</pre>
  </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><br> </div> </div>  </div></body></html>