|
From: John G. <jn...@eu...> - 2004-02-12 20:38:09
|
John,
I've looked into this a bit more.
I think I'll have it working shortly, seems I have to do three things to
get landscape:
* set the paper size
* add a '90 rotate' incantation to the postscript at a suitable point
* add a 'x y translate' command to adjust the origin
Getting last bit right is making my head hurt, but I should have
something working by tomorrow.
John
On Tue, 2004-02-10 at 15:05, John Hunter wrote:
> >>>>> "John" == John Gill <jn...@eu...> writes:
>
> John> I have some plots I'd like to print out and they would make
> John> better use of the paper if they were done landscape.
>
> John> Can the postscript backend do this?
>
> Hi John,
>
> I haven't had time to take a close look at this. My initial
> suggestions is to experiment with the paper size
>
> import matplotlib
> matplotlib.use('PS')
> import matplotlib.backends.backend_ps as backend_ps
> backend_ps.defaultPaperSize = 11,8.5 # default is 8.5, 11
>
> You may also have to specify a landscape portrait at print time, or
> rotate it.
>
> I'll take a closer look later.
>
> JDH
>
>
>
|