Re: [Matplotlib-users] imshow scaling

2009-02-17 Thread Jae-Joon Lee
When you say "own axes", I presume you're using subplots. You need to create your axes with different sizes (subplot creates axes with same size), so that the height of images are equal when they shrink to to fit in the axes box. You may create an axes with a given size with following command fig.

Re: [Matplotlib-users] matplotlib on remote host Mac OS/X

2009-02-17 Thread Jeff Whitaker
Davide Lazzati wrote: > On Mon, Feb 16, 2009 at 8:13 PM, Jeff Whitaker wrote: > >> Davide Lazzati wrote: >> >>> Hi, >>> >>> I'm trying to rum python and matlpotlib on a remote mac host from my >>> mac laptop. Both have Mac OS/X 10.5.6 and I'm using ssh -Y ... >>> >>> However, the graphic

Re: [Matplotlib-users] matplotlib on remote host Mac OS/X

2009-02-17 Thread Davide Lazzati
On Mon, Feb 16, 2009 at 8:13 PM, Jeff Whitaker wrote: > Davide Lazzati wrote: >> >> Hi, >> >> I'm trying to rum python and matlpotlib on a remote mac host from my >> mac laptop. Both have Mac OS/X 10.5.6 and I'm using ssh -Y ... >> >> However, the graphic window does not appear and, when I run p.

[Matplotlib-users] imshow scaling

2009-02-17 Thread Eric Jonas
I searched for a considerable amount of time this weekend, but have yet to figure out how to do the following: I want to plot several M_i x N images side-by-side on a figure. In particular, something like follows: |-| || |---| | | ||

Re: [Matplotlib-users] matplotlib on remote host Mac OS/X

2009-02-17 Thread Chaitanya Krishna
Hi, I think your situation is different from mine, but just thought it might help. I have a server running linux and I use mac pro to connect to the server and export graphics from the linux server. I could get my mac pro to display the graphics from the linux server only after I start X11 on my

Re: [Matplotlib-users] imshow extent & toolbar zoom??

2009-02-17 Thread Lewis, Ambrose J.
Here is the fix, thanks to Eric's reply to my colorbar posting! The modified code to update the image: ###self.myImage = self.axes.imshow(self.image_data,aspect='auto',extent=[self.pageOffset,s elf.pageOffset+self.pageSizeSamps,0,self.numChans]) self.myImage.set_array(sel

Re: [Matplotlib-users] updating colorbar to match new image data...

2009-02-17 Thread Lewis, Ambrose J.
Thanks Eric...This approach also fixed my zooming issue in my other post!!! amb -Original Message- From: Eric Firing [mailto:efir...@hawaii.edu] Sent: Monday, February 16, 2009 4:12 PM To: Lewis, Ambrose J. Cc: matplotlib-users@lists.sourceforge.net Subject: Re: [Matplotlib-users] updatin