<div dir="ltr"><div class="gmail_default" style="font-size:small">Geeta,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The problem is that you are paneling plots that are different sizes. The first two are the same, but the third one is different in size because it doesn&#39;t have a labelbar.  gsn_panel is trying to resize all of your plots based on the total area that a plot takes up, and not just the area minus the labelbar.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Since your third plot is a different size than the others, my suggestion is to not use gsn_panel, and instead set the vpXF/vpYF/vpWidthF/vpHeightF resources yourself.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You can actually use gsn_panel to help you determine the values to try.  First, set the following resource before you call gsn_panel:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default">







<p class="gmail-p1" style="font-size:small"><span class="gmail-s1">   Panelres@</span><span class="gmail-s2">gsnPanelDebug</span><span class="gmail-s1">  = True</span></p><p class="gmail-p1" style="font-size:small">Then run your script. It will print a bunch of information like:</p><p class="gmail-p1"><font face="monospace, monospace">-------Panel viewport values for each plot-------<br></font><span style="font-family:monospace,monospace">    plot #0<br></span><span style="font-family:monospace,monospace">    new x,y      = 0.0294018,0.779628<br></span><span style="font-family:monospace,monospace">    orig wdt,hgt = 0.7,0.49<br></span><span style="font-family:monospace,monospace">    new wdt,hgt  = 0.261554,0.183088</span></p><p class="gmail-p1"><font face="monospace, monospace">-------Panel viewport values for each plot-------<br></font><span style="font-family:monospace,monospace">    plot #1<br></span><span style="font-family:monospace,monospace">    new x,y      = 0.329402,0.779628<br></span><span style="font-family:monospace,monospace">    orig wdt,hgt = 0.7,0.49<br></span><span style="font-family:monospace,monospace">    new wdt,hgt  = 0.261554,0.183088</span></p><p class="gmail-p1">The values you see on the &quot;new&quot; line are what gsn_panel resized and repositioned your plots to. These are the values you can use for the vpXXX resources. For example, in the first plot you would set:</p><p class="gmail-p1"><font face="monospace, monospace">    res@vpXF      = 0.0294018  ; or simply 0.03<br>    res@vpYF      = 0.779628   ;           0.78<br>    res@vpWidthF  = 0.261554   ;           0.26<br>    res@vpHeightF = 0.183088   ;           0.18</font></p><p class="gmail-p1">Of course, you might want to tweak these a bit. </p><p class="gmail-p1">See panel_39.ncl for an example:</p><p class="gmail-p1"><a href="http://www.ncl.ucar.edu/Applications/panel.shtml#ex39">http://www.ncl.ucar.edu/Applications/panel.shtml#ex39</a></p><p class="gmail-p1">--Mary</p><p class="gmail-p1"><br></p><p class="gmail-p1"><br></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Apr 8, 2017 at 11:09 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_159944238587473779yui_3_16_0_ym19_1_1491564030934_104828"><span>dear NCL users. </span></div><div id="m_159944238587473779yui_3_16_0_ym19_1_1491564030934_104828"><span id="m_159944238587473779yui_3_16_0_ym19_1_1491564030934_104845">I have got different sized panel plots even after setting </span></div><div id="m_159944238587473779yui_3_16_0_ym19_1_1491564030934_104893"> Plot(0)      =  gsn_csm_contour_map(WKS_FIG4,<wbr>Z_fnl(:,:,68),res)</div><div id="m_159944238587473779yui_3_16_0_ym19_1_1491564030934_104894">    India_id(0)  =  gsn_add_shapefile_polylines(<wbr>WKS_FIG4,Plot(0),IND_shape_<wbr>fname,shpres)</div><div id="m_159944238587473779yui_3_16_0_ym19_1_1491564030934_104895"><br id="m_159944238587473779yui_3_16_0_ym19_1_1491564030934_104896"></div><div id="m_159944238587473779yui_3_16_0_ym19_1_1491564030934_104897">    delete(res@tmYLValues)</div><div id="m_159944238587473779yui_3_16_0_ym19_1_1491564030934_104898">    delete(res@tmYLLabels)</div><div id="m_159944238587473779yui_3_16_0_ym19_1_1491564030934_104899"><br id="m_159944238587473779yui_3_16_0_ym19_1_1491564030934_104900"></div><div id="m_159944238587473779yui_3_16_0_ym19_1_1491564030934_104901">    getvalues Plot(0)             ;  Chk mail dtd 13.12.2016 Adam</div><div id="m_159944238587473779yui_3_16_0_ym19_1_1491564030934_104902">      &quot;vpWidthF&quot; : vpw</div><div id="m_159944238587473779yui_3_16_0_ym19_1_1491564030934_104903">      &quot;vpHeightF&quot; : vph</div><div id="m_159944238587473779yui_3_16_0_ym19_1_1491564030934_104828"></div><div id="m_159944238587473779yui_3_16_0_ym19_1_1491564030934_104904">    end getvalues</div><div dir="ltr" id="m_159944238587473779yui_3_16_0_ym19_1_1491564030934_104905"><br></div><div dir="ltr" id="m_159944238587473779yui_3_16_0_ym19_1_1491564030934_104905">Dont know why is it so. Pl s suggest</div><span class="HOEnZb"><font color="#888888"><div></div><div id="m_159944238587473779yui_3_16_0_ym19_1_1491564030934_104846"> </div><div class="m_159944238587473779signature" id="m_159944238587473779yui_3_16_0_ym19_1_1491564030934_108219">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>