<div dir="ltr">Hi Laura,<div>I believe the panel_two_sets.ncl script was designed to assist folks in placing 2 sets of individual plots each with their own labelbar.  As you are paneling two sets of 4 plots each with their own panel labelbar, I wouldn't use panel_two_sets.ncl. I would do something like this, making sure to allocate the same amount of vertical space for each set of paneled plots using gsnPanelTop/gsnPanelBottom:</div><div><br></div><div>panres = True</div><div>panres@gsnFrame = False<br></div><div>panres@gsnPanelLabelBar = True</div><div>panres@lbOrientation = "vertical"</div><div>panres@gsnPanelTop = .98</div><div>panres@gsnPanelBottom = 0.5</div><div>gsn_panel(wks,plot(:3),(/2,2/),panres)</div><div><div>panres@gsnPanelTop = .5</div><div>panres@gsnPanelBottom = 0.02</div></div><div>gsn_panel(wks,plot(4:),(/2,2/),panres)<br></div><div>frame(wks)</div><div><br></div><div>Hope that helps!</div><div>Adam</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Apr 13, 2019 at 6:13 PM Laura Fowler <<a href="mailto:laura@ucar.edu">laura@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div class="gmail_default" style="font-size:small">Hello:</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I have been trying to use panel_two_sets.ncl along with my own script. Is panel_two_sets only supposed to be used with ncols for dims2 less than ncols for dims1. I changed the procedure "get_orientation" so that I always have a vertical orientation for the label bars.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">





<p class="gmail-m_2202120988345948558gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-m_2202120988345948558gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_2202120988345948558gmail-Apple-converted-space">  </span>if(nrows1.eq.nrows2) then</span></p>
<p class="gmail-m_2202120988345948558gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-m_2202120988345948558gmail-s1" style="font-variant-ligatures:no-common-ligatures">; <span class="gmail-m_2202120988345948558gmail-Apple-converted-space">  </span>return("horizontal")</span></p>
<p class="gmail-m_2202120988345948558gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span class="gmail-m_2202120988345948558gmail-s1" style="font-variant-ligatures:no-common-ligatures"><span class="gmail-m_2202120988345948558gmail-Apple-converted-space">    </span>return("vertical")</span></p><p class="gmail-m_2202120988345948558gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><br></p><p class="gmail-m_2202120988345948558gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small">with that change, the bottom 4 panels are bigger than the top four panels. I assume that panel_two_sets.ncl is not working in this case. Correct? Or is it "easy" to modify?</span></p><p class="gmail-m_2202120988345948558gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small"><br></span></p><p class="gmail-m_2202120988345948558gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small">Thanks,</span></p><p class="gmail-m_2202120988345948558gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small">Laura</span></p><p class="gmail-m_2202120988345948558gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small"><br></span></p><p class="gmail-m_2202120988345948558gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><span style="color:rgb(34,34,34);font-family:Arial,Helvetica,sans-serif;font-size:small"><br></span></p><p class="gmail-m_2202120988345948558gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><br></p><p class="gmail-m_2202120988345948558gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:14px;line-height:normal;font-family:Courier;color:rgb(0,0,128)"><br></p></div>-- <br><div dir="ltr" class="gmail-m_2202120988345948558gmail_signature"><div dir="ltr"><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">!-------------------------------------------------------------------------------------------------------------</font><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">Laura D. Fowler                                                                                       </font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">Mesoscale and Microscale Meteorology Division (MMM)         </font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">National Center for Atmospheric Research<br></font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">P.O. Box 3000, Boulder CO 80307-3000</font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)"><br></font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">e-mail: <a href="mailto:laura@ucar.edu" target="_blank">laura@ucar.edu</a></font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">phone: 303-497-1628</font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)"><br></font></div><div><font face="arial, helvetica, sans-serif" color="#0000ff" style="background-color:rgb(255,255,255)">!-------------------------------------------------------------------------------------------------------------</font><br></div></div></div></div>
_______________________________________________<br>
ncl-talk mailing list<br>
<a href="mailto:ncl-talk@ucar.edu" target="_blank">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/mailman/listinfo/ncl-talk</a><br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div><div><span><font color="#888888">Adam Phillips <br></font></span></div><span><font color="#888888">Associate Scientist,  </font></span><span><font color="#888888">Climate and Global Dynamics Laboratory, NCAR<br></font></span></div></div><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli/" target="_blank">www.cgd.ucar.edu/staff/asphilli/</a>   </font></span><span><font color="#888888">303-497-1726 </font></span></div><span><font color="#888888"></font></span><div><div><span><font color="#888888"><br></font></span><div><span><font color="#888888"><a href="http://www.cgd.ucar.edu/staff/asphilli" target="_blank"></a></font></span></div></div></div></div></div></div></div></div></div></div></div>