<div dir="ltr">Hi:<div><br></div><div>I believe that the convert command can help.</div><div><br></div><div>Also, you might try plotting them across, not up and down. This way the panels will be able to fit the page (you don't want to plot rectangles, I think).</div><div><br></div><div>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">;---Single plot with all trajectories</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>map = create_map(wks,lat,lon)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>add_trajectories(wks,map,lat,lon,-1)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>add_markers(wks,map,lat,lon,pres,-1)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>draw_legend_at_bottom(wks,map,pres,headers(3:),False)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">panres = True</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">panres@gsnMaximize = True</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">panres@gsnPanelRight = 0.95</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">panres@gsnPanelLeft<span class="gmail-Apple-converted-space"> </span>= 0.05</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">panres@gsnPanelTop = 0.95</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">panres@gsnPanelBottom<span class="gmail-Apple-converted-space"> </span>= 0.25</span></p>
<p class="gmail-p2" style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255);min-height:23px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>draw(map)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>frame(wks)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>delete(wks)</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>cmd = "convert -trim -geometry 7500x7500 +repage -border 8 -bordercolor white -background white -flatten traj.000001.png traj.000001.png"</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>cmd = "convert -trim -geometry 2500x2500 +repage -border 8 -bordercolor white -background white -flatten traj.000002.png traj.000002.png"</span></p>
<p class="gmail-p1" style="margin:0px;font-style:normal;font-variant-ligatures:normal;font-variant-caps:normal;font-weight:normal;font-stretch:normal;font-size:20px;line-height:normal;font-family:"Courier New";color:rgb(0,0,0);background-color:rgb(255,255,255)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-Apple-converted-space"> </span>system(cmd)</span></p></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Nov 15, 2017 at 1:07 AM, Maxime Colin <span dir="ltr"><<a href="mailto:m.colin@unsw.edu.au" target="_blank">m.colin@unsw.edu.au</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 id="m_-8239818754170508215divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif" dir="ltr">
<p>Hi all,</p>
<p><br>
</p>
<p>I'm drawing two plots vertically in a panel. I have used the examples on the website to make it work.</p>
<p>But the figures I have end up on a square figure, with heaps of white space on the sides, which is not acceptable for a publication etc...</p>
<p><br>
</p>
<p>How can I change the "size" of the panel plots based on the number of panels there is?</p>
<p><br>
</p>
<p>I attach the final plot and the the associated script.<br>
</p>
<p><br>
</p>
<p>Thank you for your ideas.</p>
<p><br>
</p>
<p>Maxime.<br>
</p>
<p><br>
</p>
<div id="m_-8239818754170508215Signature">
<div id="m_-8239818754170508215divtagdefaultwrapper" dir="ltr" style="font-size:12pt;color:rgb(0,0,0);font-family:Calibri,Arial,Helvetica,sans-serif,"EmojiFont","Apple Color Emoji","Segoe UI Emoji",NotoColorEmoji,"Segoe UI Symbol","Android Emoji",EmojiSymbols">
<p><span id="m_-8239818754170508215ms-rterangepaste-start"></span><font face="Calibri,Arial,Helvetica,sans-serif" size="3" color="black"></font></p>
<font face="Calibri,Arial,Helvetica,sans-serif" size="3" color="black">
<pre style="margin-top:14pt;margin-bottom:14pt"><font face="Candara,sans-serif" size="2"><span style="font-size:9pt">Maxime Colin</span></font><font face="Candara,sans-serif" size="2"><span style="font-size:9pt"> <br>------------------------------<wbr>---------------</span></font><font face="Candara,sans-serif" size="2"><span style="font-size:9pt"> <br>PhD candidate</span></font><font face="Candara,sans-serif" size="2"><span style="font-size:9pt"> <br>Climate Change Research Centre & ARC Centre of Excellence for Climate</span></font><font face="Candara,sans-serif" size="2"><span style="font-size:9pt"> System Science, UNSW, Australia</span></font><font face="Candara,sans-serif" size="2"><span style="font-size:9pt"> <br>and</span></font><font face="Candara,sans-serif" size="2"><span style="font-size:9pt"> Laboratoire de Météorologie Dynamique, UPMC, France</span></font><font face="Candara,sans-serif" size="2"><span style="font-size:9pt"> </span></font><br><a href="http://www.ccrc.unsw.edu.au/ccrc-team/students/maxime-colin" id="m_-8239818754170508215LPNoLP" target="_blank"><span id="m_-8239818754170508215LPNoLP"><font face="Candara,sans-serif" size="2"><span style="font-size:9pt">http://www.ccrc.unsw.edu.au/<wbr>ccrc-team/students/maxime-<wbr>colin</span></font></span></a><font face="Candara,sans-serif" size="2"><span style="font-size:9pt"> </span></font><br><a href="http://www.climatescience.org.au/staff/profile/mcolin" id="m_-8239818754170508215LPNoLP" target="_blank"><span id="m_-8239818754170508215LPNoLP"><font face="Candara,sans-serif" size="2"><span style="font-size:9pt">http://www.climatescience.org.<wbr>au/staff/profile/mcolin</span></font></span></a><font face="Candara,sans-serif" size="2"><span style="font-size:9pt"> <br>------------------------------<wbr>---------------</span></font><font face="Candara,sans-serif" size="2"><span style="font-size:9pt"> <br><a href="tel:+61%20421%20620%20779" value="+61421620779" target="_blank">+61 (0)421 620 779</a> / <a href="tel:+33%206%2025%2057%2081%2093" value="+33625578193" target="_blank">+33 (0)6 25 57 81 93</a></span></font><font face="Candara,sans-serif" size="2"><span style="font-size:9pt"> <br></span></font><font face="Candara,sans-serif" size="2"><span style="font-size:9pt"><a href="mailto:m.colin@unsw.edu.au" target="_blank">m.colin@unsw.edu.au</a> / </span></font><a href="https://www.normalesup.org/phare/squirrelmail/src/compose.php?send_to=maxime.colin%40normalesup.org" id="m_-8239818754170508215LPNoLP" target="_blank"><span id="m_-8239818754170508215LPNoLP"><font face="Candara,sans-serif" size="2"><span style="font-size:9pt">colinmaxime@hotmail.fr</span></font></span></a></pre>
</font><span id="m_-8239818754170508215ms-rterangepaste-end"></span><br>
<p></p>
</div>
</div>
</div>
</div>
<br>______________________________<wbr>_________________<br>
Wrf-users mailing list<br>
<a href="mailto:Wrf-users@ucar.edu">Wrf-users@ucar.edu</a><br>
<a href="http://mailman.ucar.edu/mailman/listinfo/wrf-users" rel="noreferrer" target="_blank">http://mailman.ucar.edu/<wbr>mailman/listinfo/wrf-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Barry H. Lynn, Ph.D<div><div>Senior Lecturer,</div><div><div><span style="color:rgb(136,136,136)">The Institute of the Earth Science, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">The Hebrew University of Jerusalem, </span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Givat Ram, Jerusalem 91904, Israel </span><br style="color:rgb(136,136,136)"></div><span style="color:rgb(136,136,136)">Tel: 972 547 231 170</span><br style="color:rgb(136,136,136)"><span style="color:rgb(136,136,136)">Fax: (972)-25662581</span></div></div><div><span style="color:rgb(136,136,136)"><br></span></div><div>C.E.O, Weather It Is, LTD<br>Weather and Climate Focus<br><a href="http://weather-it-is.com" target="_blank">http://weather-it-is.com</a><br>Jerusalem, Israel<br>Local: 02 930 9525<br>Cell: 054 7 231 170<br>Int-IS: x972 2 930 9525<br>US 914 432 3108<br></div></div></div>
</div>