[ncl-talk] panels
Adam Phillips
asphilli at ucar.edu
Fri Aug 24 14:38:12 MDT 2018
Hi Vanucia,
NCL will allocate space for each panel in a panel plot by looking at the
space required by the first plot. To tell NCL to look at a different plot
(in your case the 2nd plot), set:
panres at gsnPanelScalePlotIndex = 1 ; default = 0
http://www.ncl.ucar.edu/Applications/panel.shtml#24
That should minimize the white space between the plots.
To move the labelbar up, you will need to set pmLabelBarOrthogonalPosF, see
labelbar example #3 here:
http://www.ncl.ucar.edu/Applications/labelbar.shtml#ex3
Some trial and error will likely be needed to find the best setting for the
resource.
If the above doesn't help or if you have further questions let ncl-talk
know.
Adam
On Fri, Aug 24, 2018 at 2:18 PM Vanúcia Schumacher <
vanucia-schumacher at hotmail.com> wrote:
> How can I remove the space between the two plots on the panel?
> And how to move the bar up?
>
> Attached picture
>
>
> ;---Panel both plots
> pres = True
> pres at gsnPanelLabelBar = True ; common label bar
> pres at lbOrientation = "vertical" ; vertical label bar
>
> pres at gsnPanelRowSpec = True ; tell panel what order to plot
>
> gsn_panel(wks,plot,(/2,1/),pres)
>
> _______________________________________________
> 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>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ucar.edu/pipermail/ncl-talk/attachments/20180824/7bcbc572/attachment.html>
More information about the ncl-talk
mailing list