[ncl-talk] how to reduce white space

Dennis Shea shea at ucar.edu
Fri Oct 5 13:32:58 MDT 2018


*gsn_attach_plot*
*gsnPanel{X/Y}WhiteSpacePercent*
etc

At the top of the Applications page or specific example page, the following
appears:

List of tips <https://www.ncl.ucar.edu/Applications/concepts_list.shtml>,
resources <https://www.ncl.ucar.edu/Applications/res_list.shtml>,
functions/procedures <https://www.ncl.ucar.edu/Applications/func_list.shtml>
and the example scripts they appear in.
Example pages containing: tips
<https://www.ncl.ucar.edu/Applications/concepts_list.shtml> | resources
<https://www.ncl.ucar.edu/Applications/res_list.shtml> |
functions/procedures <https://www.ncl.ucar.edu/Applications/func_list.shtml>

These can be very useful. For example:

To see all example scripts and figures where (say) the function
*gsn_attach_plot
*is used click on the  *functions/procedures* link and enter:
*gsn_attach_plot*
---
To see all example scripts and figures where (say) the resource
*gsnPanelYWhiteSpacePercent
*is used click on the *resources*  link and enter
* gsnPanelYWhiteSpacePercent *

*---*



On Fri, Oct 5, 2018 at 1:09 PM Guilherme Martins <jgmsantos at gmail.com>
wrote:

> 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
>>
> _______________________________________________
> 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/e6a5d401/attachment.html>


More information about the ncl-talk mailing list