[ncl-talk] Controlling spacing with multiple plots in a panel

Adam Phillips asphilli at ucar.edu
Sat Oct 29 21:23:51 MDT 2016


Hi Scott,
Try setting gsnPanelScalePlotIndex = 1 (as your 2nd/4th plots are larger).
If that doesn't do it you might need to experiment with setting
gsnPanelRight (to say 0.9). You may need to turn gsnMaximize = False if you
set gsnPanelRight.
Adam

On Sat, Oct 29, 2016 at 8:52 PM, Scott Capps <scapps at atmosdatasolutions.com>
wrote:

> Thank you!  I added this:
>
> resP at gsnPanelXF          = (/-1,-1,0.545,0.802, -1,-1,0.545,0.802/)
> resP at gsnPanelYF          = (/-1,-1,-1,-1, -1,-1,-1,-1/)
>
> And, was able to get them spaced nicely.  However, now the rightmost plots
> are cutoff:
>
> [image: Inline image 1]
>
> On Sat, Oct 29, 2016 at 6:34 PM, Adam Phillips <asphilli at ucar.edu> wrote:
>
>> Hi Scott,
>> Try using gsnPanelDebug to retrieve the positions of the plots and then
>> set gsnPanelXF/gsnPanelYF to position them where you want them. See example
>> #19 here:
>> http://www.ncl.ucar.edu/Applications/panel.shtml#ex19
>> Hope that helps!
>> Adam
>>
>> On Sat, Oct 29, 2016 at 12:16 PM, Scott Capps <
>> scapps at atmosdatasolutions.com> wrote:
>>
>>> Greetings,
>>>
>>> I am trying to get two rows of nicely spaced plots (script attached) and
>>> have tried many different approaches with the attached result
>>> (file_out.png).  Can you help me out?  I would just like them to be spaced
>>> nicely so they don't overlap.  Here is my ncl version information:
>>>
>>> NCL v6.2.1 Debian system
>>>
>>> The input file (GFS_Global_0p25deg_SOM_init_2016102900_valid_2016103000.nc)
>>> needed for this script was uploaded to the ftp site.
>>>
>>> Thank you!
>>>
>>> --
>>> *Scott Capps*
>>> Principal
>>> Atmospheric Data Solutions <http://www.atmosphericdatasolutions.com>
>>> scapps at atmosdatasolutions.com
>>> cell: (949) 910-4385
>>>
>>>
>>> _______________________________________________
>>> 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>
>>
>
>
>
> --
> *Scott Capps*
> Principal
> Atmospheric Data Solutions <http://www.atmosphericdatasolutions.com>
> scapps at atmosdatasolutions.com
> cell: (949) 910-4385
>
>


-- 
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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161029/97996e64/attachment.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 174902 bytes
Desc: not available
Url : http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20161029/97996e64/attachment.png 


More information about the ncl-talk mailing list