[ncl-talk] panels

Vanúcia Schumacher vanucia-schumacher at hotmail.com
Fri Aug 24 14:46:07 MDT 2018


<https://www.ncl.ucar.edu/Applications/Scripts/panel_40.ncl>

Thank you for the quick response.

I was able to organize the plots using the example:
panel_40.ncl

________________________________
De: Adam Phillips <asphilli at ucar.edu>
Enviado: sexta-feira, 24 de agosto de 2018 17:38:12
Para: Vanúcia Schumacher
Cc: Ncl-talk
Assunto: Re: [ncl-talk] panels

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<mailto: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<mailto: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/<http://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/dc722bd9/attachment.html>


More information about the ncl-talk mailing list