<div dir="ltr"><div class="gmail_default" style="font-size:small">Dear Tabish,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You might be able to still use gsn_panel with the different-sized plots.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">The key is creating the first plot, and then retrieving the height of that plot and using it to set the height of the second plot. Then, when gsn_panel goes to panel both plots, it should retain the heights relative to each other.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">See the attached sample script, which only draws a map since I don't have your dataset.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">You can use gsnPanelXF to tweak the X positions of the paneled plots if you need to.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">--Mary</div><div class="gmail_default" style="font-size:small"><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Aug 20, 2018 at 9:56 AM, Tabish Ansari <span dir="ltr"><<a href="mailto:tabishumaransari@gmail.com" target="_blank">tabishumaransari@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Hi<br><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">I want to panel two plots side by side but they're of different sizes. The panelplot routine in ncl does plot them but they remain of different heights. I want to use the vp resources to manually shrink them so that their height matches.<br><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">I have attached 2 scripts: first one is working and uses the panelplot resource and creates the figure that is attached, second one uses vp resources but doesn't panel the two plots side by side.<br><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">I'd really appreciate if you could point out what's wrong in the second script.<br><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Cheers,<br><br></div><div class="gmail_default" style="font-family:trebuchet ms,sans-serif">Tabish<br><br><br clear="all"></div><div><div class="m_-2759575130746058601gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div><font size="1"><span style="font-family:tahoma,sans-serif">Tabish U Ansari<br></span></font></div><font size="1"><span style="font-family:tahoma,sans-serif">PhD student, Lancaster Environment Center<br></span></font></div><font size="1"><span style="font-family:tahoma,sans-serif">Lancaster Univeristy<br> <span>Bailrigg</span>, <span>Lancaster</span>, <br><span>LA1 4YW</span>, <span>United Kingdom</span></span></font><br></div></div></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>