Hello Steve,
On Sat, Nov 13, 2004 at 06:38:57PM +0800, Steve Chaplin wrote:
> I used the PS-backend today and I think there's a problem with landscape
> plots. When I view the PS files with 'gv' it looks like the bounding box
> is landscape but the figure is drawn as portrait.
Thanks for catching this. It can be fixed with the following
patch (already in CVS):
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- backend_ps.py.~1.12.~ 2004年11月10日 23:50:32.000000000 +0000
+++ backend_ps.py 2004年11月13日 11:34:20.000000000 +0000
@@ -558,6 +558,7 @@
=20
if isLandscape:
xo, yo =3D 72*paperHeight - yo, xo
+ llx, lly, urx, ury =3D lly, llx, ury, urx
rotation =3D 90
else:
rotation =3D 0
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
All the best,
Jochen
--=20
http://seehuhn.de/