problem with the PS-backend in matplotlib 0.64

Jochen,
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.

Regards,
Steve

···

On Fri, 2004-11-12 at 20:22 -0800, matplotlib-devel- request@lists.sourceforge.net wrote:

I checked in the patch yesterday evening. The patch decreased the
total size of the PostScript files generated by backend_driver.py from
37MB to 31MB.

All the best,
Jochen
--=20
http://seehuhn.de/

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):

======================================================================
--- 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 @@

         if isLandscape:
             xo, yo = 72*paperHeight - yo, xo
+ llx, lly, urx, ury = lly, llx, ury, urx
             rotation = 90
         else:
             rotation = 0

All the best,
Jochen
--