<div dir="ltr"><div class="gmail_default" style="font-size:small">Hi Alan,</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">I think the way to go is to simply turn on the labelbar for the rightmost plots, and turn it off for everybody else. You then don't need to do anything special when you panel the plots.</div><div class="gmail_default" style="font-size:small"><br></div><div class="gmail_default" style="font-size:small">Please see the attached script, which uses dummy data.</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"></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Sep 29, 2015 at 5:43 PM, Alan Rhoades <span dir="ltr"><<a href="mailto:alan.m.rhoades@gmail.com" target="_blank">alan.m.rhoades@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">Hi Adam,<div><br></div><div>I have a question that builds off of the last one I had a few months ago. I have attached my NCL script and a *.pdf of the output that it generates.</div><div><br></div><div>So, I'm now trying to panel four different panel plots, each with their own unique color bar and value ranges. I've tried to refrain from setting gsnPanelLeft and gsnPanelRight (like you suggested previously), but the white space issue is cropping up again (see attached *.pdf).<br></div><div><br></div><div>I have three questions...</div><div><br></div><div>1) How can I get rid of this awkward white spacing</div><div>2) How can I move each of the color bars so that they are up against the rightmost plot boxes?</div><div>3) How can I ensure that the last of the date strings are not omitted (i.e., 2005, 2025, and 2100) in each of the plots?</div><div><br></div><div>Thanks in advance!</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>AR</div><div><br></div></font></span></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 16, 2015 at 2:35 PM, Alan Rhoades <span dir="ltr"><<a href="mailto:alan.m.rhoades@gmail.com" target="_blank">alan.m.rhoades@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">Hi Adam,<div><br></div><div>I went with your first suggestion (which involved less modification of my ncl script) and commented out the gsnPanelRight (and *Left) settings I had and the plot sizing/spacing looks much better. I'll make sure to just do one gsn_panel call in all my scripts from now on.</div><div><br></div><div>Thanks again!<span><font color="#888888"><br><br></font></span></div><span><font color="#888888"><div>AR</div></font></span></div><div><div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Jul 16, 2015 at 2:05 PM, Adam Phillips <span dir="ltr"><<a href="mailto:asphilli@ucar.edu" target="_blank">asphilli@ucar.edu</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><div><div><div><div><div><div><div><div><div><div><div>Hi Alan,<br></div>I have 2 suggestions:<br></div>1) Only make one gsn_panel call if you can. By making multiple gsn_panel calls and by setting gsnPanelTop/Bottom you are semi-negating setting gsnMaximize = True. You will have to concatenate your gsnPanelFigureStrings calls and merge your graphic arrays. The latter can be accomplished in 1 of two ways:<br></div>gsn_panel(wks,(/plot_SNOWFALL_avg(0),plot_SNOWFALL_avg(1),../),<br></div></div><div>or <br></div>plot = new(12,graphic)<br></div>plot(:2) = plot_SNOWFALL_avg<br></div>plot(3:5) = plot_SNOWC_avg<br></div>etc<br></div>gsn_panel(wks,plot,(/4,3/),resP)<br><br></div>2)Do not set gsnPanelLeft and gsnPanelRight unless you absolutely have to due to conflicts with gsnMaximize.<br><br></div>Give those two suggestions a shot and let ncl-talk know if you are still having an issue.<br></div>Adam<br><div><div><div><div><br><div><div><div><div><div><div><div><br><br></div></div></div></div></div></div></div></div></div></div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div>On Thu, Jul 16, 2015 at 2:43 PM, Alan Rhoades <span dir="ltr"><<a href="mailto:alan.m.rhoades@gmail.com" target="_blank">alan.m.rhoades@gmail.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><div dir="ltr">Hello,<div><br></div><div>I'm having an issue where my current multi panel plot (on the same workstation) generates too much white space. I've tried several fixes, but can't seem to track down the right solution. I'd like to decrease the top/bottom white spacing in between each of my set of panel plots as well as maximize the panel plot to take up an equal area of the workstation (i.e., 1/4 of the total space for each set of panel plots). Any guidance or solutions would be appreciated.</div><div><br></div><div>Please see the attached PDF and ncl script.</div><div><br></div><div>All the best,</div><div><br></div><div>AR </div><span><font color="#888888"><div><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><font color="#006600"><div style="font-weight:bold"><br></div><div><font color="#006600" size="4"><b>Alan Rhoades</b></font></div></font><div><div><b><font color="#000000" size="2">PhD Student, Atmospheric Science Graduate Group</font></b></div><div><b><font color="#000000" size="2">Climate Change Water and Society (CCWAS) NSF IGERT Trainee</font></b></div><div><b><font color="#000000" size="2">University of California, Davis</font></b></div><div><span style="font-family:arial,sans-serif;background-color:rgb(255,255,255)"><u><b><a href="https://www.linkedin.com/pub/alan-rhoades/22/5bb/52a" target="_blank"><font color="#0000ff">LinkedIn</font></a></b></u></span></div><div><span style="font-family:arial,sans-serif;background-color:rgb(255,255,255)"><u><b><font size="2"><a href="mailto:alan.m.rhoades@gmail.com" target="_blank">alan.m.rhoades@gmail.com</a> </font></b></u></span></div><div><span style="font-family:arial,sans-serif;background-color:rgb(255,255,255)"><u><b><font size="2"><a href="mailto:amrhoades@ucdavis.edu" target="_blank">amrhoades@ucdavis.edu</a></font></b></u></span></div></div><div><font color="#003300" size="2"><b><br></b></font></div><div><b><i><font color="#006600" size="2">"It’s all really there. That’s what really gets you. But you gotta stop and think about it to really get the pleasure about the complexity, the inconceivable nature of nature."</font></i></b></div><div><b><i><font color="#006600" size="2">Richard Feynman</font></i></b></div></div></div></div></div>
</div></font></span></div>
<br></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>
<br></blockquote></div><span><font color="#888888"><br><br clear="all"><br>-- <br><div><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"><a href="tel:303-497-1726" value="+13034971726" target="_blank">303-497-1726</a> </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>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><font color="#006600"><div style="font-weight:bold"><br></div><div><font color="#006600" size="4"><b>Alan Rhoades</b></font></div></font><div><div><b><font size="2" color="#000000">PhD Student, Atmospheric Science Graduate Group</font></b></div><div><b><font size="2" color="#000000">Climate Change Water and Society (CCWAS) NSF IGERT Trainee</font></b></div><div><b><font size="2" color="#000000">University of California, Davis</font></b></div><div><span style="font-family:arial,sans-serif;background-color:rgb(255,255,255)"><u><b><a href="https://www.linkedin.com/pub/alan-rhoades/22/5bb/52a" target="_blank"><font color="#0000ff">LinkedIn</font></a></b></u></span></div><div><span style="font-family:arial,sans-serif;background-color:rgb(255,255,255)"><u><b><font size="2"><a href="mailto:alan.m.rhoades@gmail.com" target="_blank">alan.m.rhoades@gmail.com</a> </font></b></u></span></div><div><span style="font-family:arial,sans-serif;background-color:rgb(255,255,255)"><u><b><font size="2"><a href="mailto:amrhoades@ucdavis.edu" target="_blank">amrhoades@ucdavis.edu</a></font></b></u></span></div></div><div><font color="#003300" size="2"><b><br></b></font></div><div><b><i><font color="#006600" size="2">"It’s all really there. That’s what really gets you. But you gotta stop and think about it to really get the pleasure about the complexity, the inconceivable nature of nature."</font></i></b></div><div><b><i><font color="#006600" size="2">Richard Feynman</font></i></b></div></div></div></div></div>
</div>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><font color="#006600"><div style="font-weight:bold"><br></div><div><font color="#006600" size="2"><b>Alan Rhoades</b></font></div></font><div><div><b><font color="#000000" size="1">PhD Student, Atmospheric Science Graduate Group</font></b></div><div><b><font color="#000000" size="1">Climate Change Water and Society (CCWAS) NSF IGERT Trainee</font></b></div><div><b><font color="#000000" size="1">University of California, Davis</font></b></div><div><span style="font-family:arial,sans-serif;background-color:rgb(255,255,255)"><u><b><a href="https://www.linkedin.com/pub/alan-rhoades/22/5bb/52a" target="_blank"><font color="#0000ff" size="1">LinkedIn</font></a></b></u></span></div><div><span style="font-family:arial,sans-serif;background-color:rgb(255,255,255)"><u><b><font size="1"><a href="mailto:alan.m.rhoades@gmail.com" target="_blank">alan.m.rhoades@gmail.com</a> </font></b></u></span></div><div><span style="font-family:arial,sans-serif;background-color:rgb(255,255,255)"><u><b><a href="mailto:amrhoades@ucdavis.edu" target="_blank"><font size="1">amrhoades@ucdavis.edu</font></a></b></u></span></div></div><div><font color="#003300" size="1"><b><br></b></font></div><div><b><i><font color="#006600" size="1">"It’s all really there. That’s what really gets you. But you gotta stop and think about it to really get the pleasure about the complexity, the inconceivable nature of nature."</font></i></b></div><div><b><i><font color="#006600" size="1">Richard Feynman</font></i></b></div></div></div></div></div></div></div>
</div>
</div></div><br>_______________________________________________<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/mailman/listinfo/ncl-talk</a><br>
<br></blockquote></div><br></div>