<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Geeta,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">In order to panel plots and make sure they are the same size, you need to make sure the individual plots being passed to gsn_panel are the same size.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You could set vpWidthF and vpHeightF for all four plots to the same set of values, since you are already doing this for one plot. You will need to make sure gsnMaximize is not set to True for the individual plots, because this causes them to be resized.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">However, the important thing to know is that vpWidthF/vpHeightF only affects the box that encloses the plot itself, and not the area that includes the labelbar, the tickmarks, and the titles. This means that your second plot, which doesn&#39;t appear to have a labelbar, is going to be a very different size than everybody else.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">If gsn_panel is giving you problems, then you might want to consider panelling the plots yourself, by setting vpXF, vpYF, vpWidthF, and vpHeightF for each plot. For an example of this, see panel_20.ncl:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Applications/panel.shtml#ex20">http://www.ncl.ucar.edu/Applications/panel.shtml#ex20</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">To better understand what vpWidthF and vpHeightF refer to, see our viewport page:</div><div class="gmail_default"><br></div><div class="gmail_default"><a href="http://www.ncl.ucar.edu/Applications/viewport.shtml">http://www.ncl.ucar.edu/Applications/viewport.shtml</a><br></div><div class="gmail_default"><br></div><div class="gmail_default">The viewport is the area with the plot, while the &quot;bounding box&quot; is the whole area that includes titles, labelbars, etc.</div><div class="gmail_default"><br></div><div class="gmail_default">-Mary</div><div class="gmail_default"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sun, May 21, 2017 at 7:12 AM, Geeta Geeta <span dir="ltr">&lt;<a href="mailto:geetag54@yahoo.com" target="_blank">geetag54@yahoo.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div style="color:#000;background-color:#fff;font-family:Helvetica Neue,Helvetica,Arial,Lucida Grande,sans-serif;font-size:13px"><div id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44232"><span>Hi </span></div><div id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44232" dir="ltr"><span id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44352">I am making a panel plot in which I have set </span></div><div dir="ltr" id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44277">getvalues Plot(0)             ;  Chk mail dtd 13.12.2016 Adam</div><div dir="ltr" id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44278">    181       &quot;vpWidthF&quot;  : vpw</div><div dir="ltr" id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44279">    182       &quot;vpHeightF&quot; : vph</div><div id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44232" dir="ltr"></div><div dir="ltr" id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44280">    183     end getvalues</div><div dir="ltr" id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44281"><br id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44282"></div><div dir="ltr" id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44281">(chk lines 181-183) </div><div dir="ltr" id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44281">for all the plots. but the 2nd plot comes of different size. Pls chek the vph and vpw for the 2nd plot at the line no&#39;s  (273-276)</div><div dir="ltr" id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44281"><div dir="ltr" id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44346">              Rests2@mpShapeMode     =   &quot;FreeAspect&quot;</div><div dir="ltr" id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44347">    274    Rests2@vpWidthF        =   vpw</div><div dir="ltr" id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44348">    275    Rests2@vpHeightF       =   vph</div><div dir="ltr" id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44349">    276 </div><div dir="ltr" id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44350"><br id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44351"></div><div dir="ltr" id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44350">I do not know what is going wrong. Atttaching the panel figure. </div><div dir="ltr" id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44350">I printed the output which is .......</div><div dir="ltr" id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44350"><div dir="ltr" id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44701">(0)<span style="white-space:pre-wrap" id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44702">        </span>++++++++++++++++++++</div><div dir="ltr" id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44703">(0)<span style="white-space:pre-wrap" id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44704">        </span>plot0  0.738519   0.553889</div><div dir="ltr" id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44705">(0)<span style="white-space:pre-wrap" id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44706">        </span> Portion 2nd of error Begins</div><div dir="ltr" id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44707"><br id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44708"></div></div><div dir="ltr" id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44350"><br></div><div dir="ltr" id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44350"><div dir="ltr" id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44646">(0)<span style="white-space:pre-wrap" id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44647">        </span>plot1  0.738519</div><div dir="ltr" id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44648">(0)<span style="white-space:pre-wrap" id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44649">        </span>plot1   0.553889</div><span class="HOEnZb"><font color="#888888"><div dir="ltr" id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44650"><br id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44651"></div></font></span></div></div><span class="HOEnZb"><font color="#888888"><div></div><div id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44362"> </div><div class="m_938685976995220102signature" id="m_938685976995220102yui_3_16_0_ym19_1_1495204281785_44370">Geeta.</div></font></span></div></div><br>______________________________<wbr>_________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a><br>
List instructions, subscriber options, unsubscribe:<br>
<a href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>