SourceForge logo
SourceForge logo
Menu

Re: [matplotlib-devel] Re: problem with the PS-backend in matplotlib 0.64

From: Jochen V. <vo...@se...> - 2004年11月13日 11:44:03
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/

View entire thread

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /