<div dir="ltr"><div>Hello:</div><div><br></div><div>I am still kind of confused on how to use gsnPanelMainYF to move the position of the main title in a panel plot. Hope you can help me. When I do not set gsnPanelMainPosYF and use gsnPanelDebug = True, then the result of the resources below gives me(also see test1.png):</div><div><br></div><div>





<p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">resP = True</span></p>
<p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">resP@gsnDraw <span class="gmail-Apple-converted-space">      </span>= True</span></p>
<p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">resP@gsnFrame<span class="gmail-Apple-converted-space">      </span>= False</span></p>
<p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">resP@gsnMaximize <span class="gmail-Apple-converted-space">  </span>= True</span></p>
<p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">resP@gsnPanelDebug = True</span></p>
<p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">resP@gsnPaperOrientation = "portrait"</span></p>
<p class="gmail-p2" 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(1,25,147);min-height:17px"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"></span><br></p>
<p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">resP@gsnPanelTop<span class="gmail-Apple-converted-space">    </span>= 1.0 <span class="gmail-Apple-converted-space">                            </span>; Make sure each set of plots gets a</span></p>
<p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">resP@gsnPanelBottom = resP@gsnPanelTop - plot_height<span class="gmail-Apple-converted-space">  </span>; third of the total height.</span></p>
<p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">;resP@gsnPanelMainPosYF<span class="gmail-Apple-converted-space">  </span>= 0.95</span></p>
<p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">resP@gsnPanelMainString = "DECEMBER 2015 - INCIDENCE OF SHALLOW CONVECTION "</span></p>
<p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">gsn_panel(wks,plots(0:3),(/nrows,ncols/),resP)</span></p></div><div><br></div><div><br></div><div>





<p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(0)<span class="gmail-Apple-tab-span" style="white-space:pre">  </span>-------min/max X,Y viewport positions for plots-------</span></p>
<p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(0)<span class="gmail-Apple-tab-span" style="white-space:pre">  </span>min/max x viewport position = 0.155409/0.540376</span></p>
<p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(0)<span class="gmail-Apple-tab-span" style="white-space:pre">  </span>min/max y viewport position = 0.694126/0.914126</span></p>
<p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(0)<span class="gmail-Apple-tab-span" style="white-space:pre">  </span>-------Panel title values-------</span></p>
<p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(0)<span class="gmail-Apple-tab-span" style="white-space:pre">  </span><span class="gmail-Apple-converted-space">    </span>title<span class="gmail-Apple-converted-space">                </span>= DECEMBER 2015 - INCIDENCE OF SHALLOW CONVECTION<span class="gmail-Apple-converted-space"> </span></span></p>
<p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(0)<span class="gmail-Apple-tab-span" style="white-space:pre">  </span><span class="gmail-Apple-converted-space">    </span>top of paneled plots = 0.937843</span></p>
<p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(0)<span class="gmail-Apple-tab-span" style="white-space:pre">  </span><span class="gmail-Apple-converted-space">    </span>y location of title<span class="gmail-Apple-converted-space">  </span>= 0.967843</span></p>
<p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(0)<span class="gmail-Apple-tab-span" style="white-space:pre">  </span>-------min/max NDC values for all objects in panel-------</span></p>
<p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(0)<span class="gmail-Apple-tab-span" style="white-space:pre">  </span>min/max x position = 0.110249/0.889751</span></p>
<p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(0)<span class="gmail-Apple-tab-span" style="white-space:pre">  </span>min/max y position = 0.502157/0.978343</span></p></div><div><br></div><div>To move the location closer to the plots, I added: "<span style="font-variant-ligatures:no-common-ligatures;color:rgb(1,25,147);font-family:Courier;font-size:14px">resP@gsnPanelMainPosYF</span><span class="gmail-Apple-converted-space" style="font-variant-ligatures:no-common-ligatures;color:rgb(1,25,147);font-family:Courier;font-size:14px">  </span><span style="font-variant-ligatures:no-common-ligatures;color:rgb(1,25,147);font-family:Courier;font-size:14px">= 0.95" </span>to the resources above to move the title from <span style="color:rgb(1,25,147);font-family:Courier;font-size:14px;font-variant-ligatures:no-common-ligatures">y location of title</span><span class="gmail-Apple-converted-space" style="color:rgb(1,25,147);font-family:Courier;font-size:14px;font-variant-ligatures:no-common-ligatures">  </span><span style="color:rgb(1,25,147);font-family:Courier;font-size:14px;font-variant-ligatures:no-common-ligatures">= 0.967843</span></div><div><br></div><div>





<p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(0)<span class="gmail-Apple-tab-span" style="white-space:pre">  </span>-------min/max X,Y viewport positions for plots-------</span></p>
<p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(0)<span class="gmail-Apple-tab-span" style="white-space:pre">  </span>min/max x viewport position = 0.171072/0.538541</span></p>
<p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(0)<span class="gmail-Apple-tab-span" style="white-space:pre">  </span>min/max y viewport position = 0.685302/0.895302</span></p>
<p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(0)<span class="gmail-Apple-tab-span" style="white-space:pre">  </span>-------Panel title values-------</span></p>
<p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(0)<span class="gmail-Apple-tab-span" style="white-space:pre">  </span><span class="gmail-Apple-converted-space">    </span>title<span class="gmail-Apple-converted-space">                </span>= DECEMBER 2015 - INCIDENCE OF SHALLOW CONVECTION<span class="gmail-Apple-converted-space"> </span></span></p>
<p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(0)<span class="gmail-Apple-tab-span" style="white-space:pre">  </span><span class="gmail-Apple-converted-space">    </span>top of paneled plots = 0.917941</span></p>
<p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(0)<span class="gmail-Apple-tab-span" style="white-space:pre">  </span><span class="gmail-Apple-converted-space">    </span>y location of title<span class="gmail-Apple-converted-space">  </span>= 0.95</span></p>
<p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(0)<span class="gmail-Apple-tab-span" style="white-space:pre">  </span>-------min/max NDC values for all objects in panel-------</span></p>
<p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(0)<span class="gmail-Apple-tab-span" style="white-space:pre">  </span>min/max x position = 0.110249/0.889751</span></p>
<p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures">(0)<span class="gmail-Apple-tab-span" style="white-space:pre">  </span>min/max y position = 0.502059/0.9605</span></p><p class="gmail-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(1,25,147)"><span class="gmail-s1" style="font-variant-ligatures:no-common-ligatures"><br></span></p><p class="gmail-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(1,25,147)"><span style="font-family:Arial,Helvetica,sans-serif;font-size:small;color:rgb(34,34,34)">test2,png shows that the entire panel plot moved down while I was expecting that only the title would move. So I am totally confused. Can somebody tell me what I can try next. If interested, the test.ncl script is in </span><span style="font-variant-ligatures:no-common-ligatures">/gpfs/fs1/scratch/laura/MPASprojects2018/MPAS.cu_shallow/novemberPUBLICATION/precipitation_figs</span><br></p></div><div><span style="font-variant-ligatures:no-common-ligatures;color:rgb(1,25,147);font-family:Courier;font-size:14px"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures;color:rgb(1,25,147);font-family:Courier;font-size:14px"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures;color:rgb(1,25,147);font-family:Courier;font-size:14px">Thanks,</span></div><div><span style="font-variant-ligatures:no-common-ligatures;color:rgb(1,25,147);font-family:Courier;font-size:14px">Laura</span></div><div><span style="font-variant-ligatures:no-common-ligatures;color:rgb(1,25,147);font-family:Courier;font-size:14px"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures;color:rgb(1,25,147);font-family:Courier;font-size:14px"><br></span></div><div><span style="font-variant-ligatures:no-common-ligatures;color:rgb(1,25,147);font-family:Courier;font-size:14px"><br></span></div>





-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_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>