[ncl-talk] how to reduce white space
Buzan, Jonathan
jbuzan at purdue.edu
Fri Oct 5 13:01:49 MDT 2018
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<mailto: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<mailto:laura at ucar.edu>
phone: 303-497-1628
!-------------------------------------------------------------------------------------------------------------
<panel5.png>
_______________________________________________
ncl-talk mailing list
ncl-talk at ucar.edu<mailto: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/f5a79faf/attachment.html>
More information about the ncl-talk
mailing list