Re: paper size resources only for maximization and not for "real paper size"

From: Mary Haley <haley_at_nyahnyahspammersnyahnyah>
Date: Mon Dec 21 2009 - 09:35:15 MST

Hi Alex,

I couldn't reproduce the results you mention.

I took a simple plot, and tried going to the default letter size (8.5
x 11 inches) and then
I set it to 8.26 x 11.69, and got what I would expect, which is a
slightly skinnier plot.

Can you try the following attached script and let me know
what you get?



On Dec 18, 2009, at 3:27 AM, Alexander Radebach wrote:

> Hi Mary,
> actually the maximization works fine (I'm setting it explicitely to
> True; of course the default would lead to the same result).
> The problem is in the pdf output, which is always put onto a 11*8.5
> inches paper (Letter) - even if pyNgl maximizes to the wanted paper
> format (A4). (That's why the plots are partially "leaving" the pdf
> paper.)
> So: What I couldn't manage was to adapt the paper size in the pdf.
> Alex
> --
> Potsdam-Institut for Climate Impact Research
> Potsdam, Germany
> Mary Haley writes:
>> Hi Alex, I'll take a look at this. Are you are saying it works if
>> nglMaximize is set to True (the default)? --Mary On Dec 17, 2009,
>> at 3:16 AM, Alexander Radebach wrote:
>>> Dear pyNgl community,
>>> after some days of extensive search and reading there's still
>>> one last problem on the output of my script (attached .py):
>>> Even if I set nglPaperHeight and nglPaperWidth to values for an
>>> A4 sheet of paper (11.69" * 8.26") only the maximization to that
>>> paper format works correctly. The final output (pdf) is still on
>>> an Letter format (11" * 8.5"). See attached pdf.
>>> Do you have any suggestions to fix that? Or is it impossible to
>>> change the "real paper format" (as is seems to be for number
>>> formats at labels)?
>>> Thank you in advance,
>>> Alex
>>> --
>>> Potsdam-Institut for Climate Impact
>>> Research<><Measures.jpg>__________________________
>>> __ ___________________
>>> pyngl-talk mailing list
>>> List instructions, subscriber options, unsubscribe:

pyngl-talk mailing list
List instructions, subscriber options, unsubscribe:

Received on Mon Dec 21 09:35:33 2009

This archive was generated by hypermail 2.1.8 : Mon Feb 01 2010 - 08:33:45 MST