[ncl-talk] how to reduce white space

Guilherme Martins jgmsantos at gmail.com
Fri Oct 5 13:09:35 MDT 2018


Try use

 resP                 = True
 resP at gsnPanelYWhiteSpacePercent = 5
 resP at gsnPanelXWhiteSpacePercent = 5
 gsn_panel(wks,plot,(/2,2/),resP)


Em sex, 5 de out de 2018 16:02, Buzan, Jonathan <jbuzan at purdue.edu>
escreveu:

> Hello Laura,
>
> I think you want to use gsn_attach_plot.  Or something like that.
>
> -Jonathan
>
> On Oct 5, 2018, at 11:57, Laura Fowler <laura at ucar.edu> wrote:
>
> Hello:
>
> I am really struggling trying to reduce the amount of white space between
> the two columns so that the individual plots are bigger. I followed
> panel_12.ncl since I would like to later add a label bar at the bottom of
> each column. To create the left and right columns, I used:
>
> resL                  = True
>
> resL at gsnMaximize      = True
>
> resL at gsnDraw          = True
>
> resL at gsnFrame         = False
>
> resL at gsnPanelRight    = 0.5
>
> resL at gsnPanelLabelBar = False
>
> resL at gsnPaperOrientation = "portrait"
>
>
> resR                  = True
>
> resR at gsnMaximize      = True
>
> resR at gsnDraw          = True
>
> resR at gsnFrame         = False
>
> resR at gsnPanelLeft     = 0.5
>
> resR at gsnPanelLabelBar = False
>
> resR at gsnPaperOrientation = "portrait"
>
>
> gsn_panel(wks,plot_A,(/4,1/),resL)
>
> gsn_panel(wks,plot_B,(/4,1/),resR)
>
> frame(wks)
>
> Using gsnMaximize does not help. Varying resL at gsnPanelRight or
> resR at gsnPanelLeft to a greater number increases the size of one column at
> the expense of the other so it looks like we always have to use 0.5 then?
>
> Can somebody give a hint?
> Thanks,
> Laura
>
>
> --
>
> !-------------------------------------------------------------------------------------------------------------
> Laura D. Fowler
>
> Mesoscale and Microscale Meteorology Division (MMM)
> National Center for Atmospheric Research
> P.O. Box 3000, Boulder CO 80307-3000
>
> e-mail: laura at ucar.edu
> phone: 303-497-1628
>
>
> !-------------------------------------------------------------------------------------------------------------
>
> <panel5.png>
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
> _______________________________________________
> ncl-talk mailing list
> ncl-talk at ucar.edu
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20181005/84d0e308/attachment.html>


More information about the ncl-talk mailing list