[Matplotlib-users] trig plot from event?

2007-03-21 Thread Stephen George
I have two plots. first one is velocity data from servo controller (freq) - plant reciprocates back and forth so we got turn data in there as well second one is psd (power spectral density) so we can see where we got resonances etc. When we zoom in on on section of first plot (say the forwar

Re: [Matplotlib-users] imshow, matshow coordinate system

2007-03-21 Thread Eric Firing
Richard Brown wrote: > Hi there, > > I'm pretty new to python; I'm in the process of switching from Matlab. > I do quite a bit of image processing in my research, and while > pylab/matplotlib seems to be a great plotting library, some of the > quirks seem just a little bit frustrating - I'm hoping

[Matplotlib-users] imshow, matshow coordinate system

2007-03-21 Thread Richard Brown
Hi there, I'm pretty new to python; I'm in the process of switching from Matlab. I do quite a bit of image processing in my research, and while pylab/matplotlib seems to be a great plotting library, some of the quirks seem just a little bit frustrating - I'm hoping for some enlightenment :) When

[Matplotlib-users] Getting resize_event to work

2007-03-21 Thread Stephen George
Trying to get resize event to work, but either I don't understand the definition of when resize_event should work, or it's broken. for example === from matplotlib import pylab , numerix def GotResizeEvent( event ): print 'Resize event detected' def GotDrawEvent( event

Re: [Matplotlib-users] making subplots with rows different sizes

2007-03-21 Thread Eric Firing
John Hunter wrote: > On 3/21/07, Michael Lerner <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I want to make a figure that has three subplots. The top one should >> be a big, mostly square thing. The bottom two should be rectangular >> things. That is, I want it to look like this: >> >> X >> X

Re: [Matplotlib-users] twinx() multiple x-axes?

2007-03-21 Thread Richard Albright
use tick top: ax = twinx() ax.xaxis.tick_top() On Wed, 2007-03-21 at 18:17 +0100, Matthew Czesarski wrote: > Hi matplotlib-users! > > OK, yeah, I'm pretty new to matplotlib/pylab... I played with biggles > for a short while but, all (more than 3) my python-using associates in > the astronomical

Re: [Matplotlib-users] making subplots with rows different sizes

2007-03-21 Thread John Hunter
On 3/21/07, Michael Lerner <[EMAIL PROTECTED]> wrote: > Hi, > > I want to make a figure that has three subplots. The top one should > be a big, mostly square thing. The bottom two should be rectangular > things. That is, I want it to look like this: > > X > X > X > X > > X >

Re: [Matplotlib-users] making subplots with rows different sizes

2007-03-21 Thread Michael Lerner
Hi, Sorry if I'm just being thick .. I read through several of the examples, and didn't figure it out. I can figure out how to use figsize to set the size of the entire figure, but I want several subplots on one figure. Maybe you can help me fix some sample code. This plots a matrix and sqrt(x)/

Re: [Matplotlib-users] making subplots with rows different sizes

2007-03-21 Thread Zack
Hi Michael, On 21 March 2007, Michael Lerner wrote: > so, I'm using subplot(311), subplot(312), subplot(313). But, things > are getting resized so that each of the rows has the same height. > That really messes up the aspect ratio for my top row. > > I tried axis('equal') and axis('scaled') afte

[Matplotlib-users] making subplots with rows different sizes

2007-03-21 Thread Michael Lerner
Hi, I want to make a figure that has three subplots. The top one should be a big, mostly square thing. The bottom two should be rectangular things. That is, I want it to look like this: X X X X X X X X so, I'm using subplot(311), subplot(312), subplot(313).

[Matplotlib-users] twinx() multiple x-axes?

2007-03-21 Thread Matthew Czesarski
Hi matplotlib-users! OK, yeah, I'm pretty new to matplotlib/pylab... I played with biggles for a short while but, all (more than 3) my python-using associates in the astronomical community we saying matplotlib was the way of the future... So I started with matplotlib. I would like to plot some p