[ncl-talk] reducing margins panelplots

Noelia otero noeli1680 at gmail.com
Tue Nov 10 09:23:26 MST 2015


Hi,

Thanks for the suggestions. However, I am not seeing much difference. I
mean, by using mpShapeMode = "FreeAspect" for each plot, they look quite
similar.. I was wondering how to reduce the right and left
margins..increasing also the plots.
The thing is that I wanted to keep gsn_panel(wks, panelP(:,k), (/7,2/),
pres), since I am trying to compare models (the same model in each row, at
different period of time).

Many thanks again,

cheers,

 Noelia


2015-11-10 17:04 GMT+01:00 Adam Phillips <asphilli at ucar.edu>:

> Hi Noelia,
> You are already close to the maximum size for your plots based on the
> options you have chosen and the orientation and domain of the plots. NCL
> will not distort the map (horizontally in your case) unless you explicitly
> tell it to do so. Here are a few suggestions:
>
> 1) Set mpShapeMode = "FreeAspect" and set vpWidthF = 0.8 and vpHeightF =
> 0.6. (The last two settings are guesses.) Setting those three resources
> will tell NCL to go ahead and stretch/distort each plot so that is wider.
> http://www.ncl.ucar.edu/Document/Graphics/Resources/mp.shtml#mpShapeMode
>
> 2) Comment out: pres at gsnPanelBottom = 0.06, and if the resulting plot has
> the label bar off the bottom of the page set pres at lbOrientation =
> "Vertical", pres at pmLabelBarWidthF = 0.1 and pres at pmLabelBarHeightF = 0.6.
> This will move the label bar to the side.
>
> 3) Comment out pres at txString and set your plot title manually by using
> gsn_text_ndc:
> https://www.ncl.ucar.edu/Document/Graphics/Interfaces/gsn_text_ndc.shtml
>
> 4) Change the panel layout by changing this:
>                 gsn_panel(wks, panelP(:,k), (/7,2/), pres)
>      to this: gsn_panel(wks, panelP(:,k), (/5,3/), pres)
>
> Hope that all helps. If not, please respond to the ncl-talk email list.
> Adam
>
>
> On Tue, Nov 10, 2015 at 8:47 AM, Noelia otero <noeli1680 at gmail.com> wrote:
>
>> Hi,
>>
>> I am trying to make some plots by using gsn_panel. My question is, how
>> can I get the plots bigger? I have been looking at several examples and I
>> am already using the option gsnMaximize, however, when I check the pdf
>> file, it looks like too small..(I would like to reduce the margins and make
>> bigger every plot). I am not sure what is best way.
>> I would like to attach the plot that I got and the script I'm using.
>>
>> Many thanks in advance,
>>
>> cheers,
>>
>> Noelia
>>
>> _______________________________________________
>> 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/20151110/29e895e4/attachment.html 


More information about the ncl-talk mailing list