[ncl-talk] Issue with plotting and maximizing space in multi-panel plot on same workstation
Alan Rhoades
alan.m.rhoades at gmail.com
Thu Jul 16 15:35:21 MDT 2015
Hi Adam,
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.
Thanks again!
AR
On Thu, Jul 16, 2015 at 2:05 PM, Adam Phillips <asphilli at ucar.edu> wrote:
> Hi Alan,
> I have 2 suggestions:
> 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:
> gsn_panel(wks,(/plot_SNOWFALL_avg(0),plot_SNOWFALL_avg(1),../),
> or
> plot = new(12,graphic)
> plot(:2) = plot_SNOWFALL_avg
> plot(3:5) = plot_SNOWC_avg
> etc
> gsn_panel(wks,plot,(/4,3/),resP)
>
> 2)Do not set gsnPanelLeft and gsnPanelRight unless you absolutely have to
> due to conflicts with gsnMaximize.
>
> Give those two suggestions a shot and let ncl-talk know if you are still
> having an issue.
> Adam
>
>
>
>
> On Thu, Jul 16, 2015 at 2:43 PM, Alan Rhoades <alan.m.rhoades at gmail.com>
> wrote:
>
>> Hello,
>>
>> 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.
>>
>> Please see the attached PDF and ncl script.
>>
>> All the best,
>>
>> AR
>>
>> --
>>
>> *Alan Rhoades*
>> *PhD Student, Atmospheric Science Graduate Group*
>> *Climate Change Water and Society (CCWAS) NSF IGERT Trainee*
>> *University of California, Davis*
>> *LinkedIn <https://www.linkedin.com/pub/alan-rhoades/22/5bb/52a>*
>> *alan.m.rhoades at gmail.com <alan.m.rhoades at gmail.com> *
>> *amrhoades at ucdavis.edu <amrhoades at ucdavis.edu>*
>>
>> *"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."*
>> *Richard Feynman*
>>
>> _______________________________________________
>> ncl-talk mailing list
>> ncl-talk at ucar.edu
>> List instructions, subscriber options, unsubscribe:
>> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>>
>>
>
>
> --
> Adam Phillips
> Associate Scientist, Climate and Global Dynamics Laboratory, NCAR
> www.cgd.ucar.edu/staff/asphilli/ 303-497-1726
>
> <http://www.cgd.ucar.edu/staff/asphilli>
>
--
*Alan Rhoades*
*PhD Student, Atmospheric Science Graduate Group*
*Climate Change Water and Society (CCWAS) NSF IGERT Trainee*
*University of California, Davis*
*LinkedIn <https://www.linkedin.com/pub/alan-rhoades/22/5bb/52a>*
*alan.m.rhoades at gmail.com <alan.m.rhoades at gmail.com> *
*amrhoades at ucdavis.edu <amrhoades at ucdavis.edu>*
*"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."*
*Richard Feynman*
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20150716/50023dc1/attachment.html
More information about the ncl-talk
mailing list