Re: [Matplotlib-users] strangely shifted PostScript output when axis("off")

2008-02-27 Thread Darren Dale
On Wednesday 27 February 2008 12:21:18 pm Jochen Voss wrote: > Hi Darren, > > On Wed, Feb 27, 2008 at 11:33:00AM -0500, Darren Dale wrote: > > Thanks for the images, I see what you are saying. > > > > However, when I run your broken.py script I dont see any problems. The ps > > and eps look like th

Re: [Matplotlib-users] strangely shifted PostScript output when axis("off")

2008-02-27 Thread Jochen Voss
Hi Darren, On Wed, Feb 27, 2008 at 11:33:00AM -0500, Darren Dale wrote: > Thanks for the images, I see what you are saying. > > However, when I run your broken.py script I dont see any problems. The ps and > eps look like the png output. Hmmm, this is strange. I remember that things worked a b

Re: [Matplotlib-users] strangely shifted PostScript output when axis("off")

2008-02-27 Thread Darren Dale
On Wednesday 27 February 2008 11:25:25 am Jochen Voss wrote: > Hi Darren, > > On Wed, Feb 27, 2008 at 09:24:18AM -0500, Darren Dale wrote: > > I don't see the problem here with either 0.91.2, the maintanance branch, > > or the development branch. Maybe I dont know what I am looking for. Could > > y

Re: [Matplotlib-users] strangely shifted PostScript output when axis("off")

2008-02-27 Thread Jochen Voss
Hi Darren, On Wed, Feb 27, 2008 at 09:24:18AM -0500, Darren Dale wrote: > I don't see the problem here with either 0.91.2, the maintanance branch, or > the development branch. Maybe I dont know what I am looking for. Could you > please send me an eps and png example so I can compare my results w

Re: [Matplotlib-users] strangely shifted PostScript output when axis("off")

2008-02-27 Thread Darren Dale
Hi Jochen, I don't see the problem here with either 0.91.2, the maintanance branch, or the development branch. Maybe I dont know what I am looking for. Could you please send me an eps and png example so I can compare my results with yours? On Monday 25 February 2008 04:53:47 pm Jochen Voss wro

Re: [Matplotlib-users] strangely shifted PostScript output when

2008-02-26 Thread Mark Bakker
To me it sounds like the bounding box is miscalculated when the axis are turned off. What you could do as a workaround, is add a fill to the figure that has the exact same size as the axis box. Maybe then, when you turn the axis off it will keep the same size? May be an ugly workaround, but worth a

Re: [Matplotlib-users] strangely shifted PostScript output when

2008-02-26 Thread Jochen Voss
Hi Mark, On Tue, Feb 26, 2008 at 11:30:55AM +0100, Mark Bakker wrote: > As a workaround, can you just turn the axis box and ticks off? > > xticks([]) > yticks([]) > setp(ax,'frame_on',False) > > Or does that give the same problem? Unfortunately the problem also occurs when I replace the axis("o

Re: [Matplotlib-users] strangely shifted PostScript output when

2008-02-26 Thread Mark Bakker
As a workaround, can you just turn the axis box and ticks off? xticks([]) yticks([]) setp(ax,'frame_on',False) Or does that give the same problem? - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(

[Matplotlib-users] strangely shifted PostScript output when axis("off")

2008-02-25 Thread Jochen Voss
Hi, I have a strange (to me) problem with matplotlib version 0.91.2, installed from source on a Debian Linux system. I try to generate a plot which combines bitmap data (using "pcolor") and some lines (using "plot") as in the appended script. I switch off the coordinate axes using the command ax