[ncl-talk] Label Bar Goes Off The page with gsnMaximize

Adam Phillips asphilli at ucar.edu
Thu Jan 5 13:48:31 MST 2017


Hi Barry,
The gsnPanel* resources will not work unless you are passing them in as
resources to a gsn_panel call.

If you want to call gsnMaximize and set the gsnPanel* resources you can
change the following code from this:

res at gsnMaximize      = True                   ; use full page
res at gsnPanelRight = 0.5
res at gsnPaperWidth = 7.5
...
overlay(plot,plot_ov)
draw(plot)
frame(wks)

to this:

;res at gsnMaximize      = True                 ; comment these 3 resources out
;res at gsnPanelRight = 0.5
;res at gsnPaperWidth = 7.5

...
overlay(plot,plot_ov)
panres = True
panres at gsnMaximize = True
panres at gsnPanelRight = 0.8
gsn_panel(wks,plot,(/1,1/),panres)

Hopefully that at least gets you going on the right path. If you have any
further questions please write to the ncl-talk email list.
Adam

On Thu, Jan 5, 2017 at 12:46 PM, Barry Lynn <barry.h.lynn at gmail.com> wrote:

> Hi:
>
> I have tried everything that I could find, but I can't move the plot away
> from the right hand side of the page (after using gsnMaximize).
>
> The result is that there is no room for my label bar!
>
>  res at gsnPanelBottom = 0.25
>  res at gsnPanelRight = 0.75
>   res at gsnMaximize      = True                   ; use full page
>   res at gsnPanelRight = 0.5
>   res at gsnPaperWidth = 7.5
>
> Thank you for your advice,
>
> Barry
>
>
> --
> Barry H. Lynn, Ph.D
> Senior Lecturer,
> The Institute of the Earth Science,
> The Hebrew University of Jerusalem,
> Givat Ram, Jerusalem 91904, Israel
> Tel: 972 547 231 170
> Fax: (972)-25662581
>
> C.E.O, Weather It Is, LTD
> Weather and Climate Focus
> http://weather-it-is.com
> Jerusalem, Israel
> Local: 02 930 9525
> Cell: 054 7 231 170
> Int-IS: x972 2 930 9525
> US 914 432 3108 <(914)%20432-3108>
>
> _______________________________________________
> 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/20170105/d1d933ca/attachment.html 


More information about the ncl-talk mailing list