Re: [Matplotlib-users] Screen location

2007-09-21 Thread Christopher Barker
John Hunter wrote: >> fig = figure() >> fig.canvas.manager.window.move(100,400) > Well, the example I posted was for a *gtk* window, not a tk window. And, for what it's worth, wx spells it "Move()", with a capital "M". -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Divi

Re: [Matplotlib-users] Screen location

2007-09-21 Thread John Hunter
On 9/21/07, Yo mismo Hotmail <[EMAIL PROTECTED]> wrote: > Dear John, > > First of all, thanks for your response. When I try this > > fig = figure() > fig.canvas.manager.window.move(100,400) > > python tells me that window has no attribute move. It's strange because I > can choose many differents a

Re: [Matplotlib-users] Screen location

2007-09-21 Thread Yo mismo Hotmail
Dear John, First of all, thanks for your response. When I try this fig = figure() fig.canvas.manager.window.move(100,400) python tells me that window has no attribute move. It's strange because I can choose many differents attributes like >>> fig.canvas.manager.window >>> fig.canvas.manager.wi

Re: [Matplotlib-users] Screen location

2007-09-20 Thread John Hunter
On 9/19/07, Yo mismo Hotmail <[EMAIL PROTECTED]> wrote: > Hi all! > > I'm actually working with Matplotlib/Pylab Interface for making 2D plot. I > need to specify screen location where the frame will appear and I don't know > how. Supose a simple example like: > > from pylab import * > > t = arange

[Matplotlib-users] Screen location

2007-09-20 Thread Yo mismo Hotmail
Hi all! I'm actually working with Matplotlib/Pylab Interface for making 2D plot. I need to specify screen location where the frame will appear and I don't know how. Supose a simple example like: from pylab import * t = arange(0.0,10,0.01) s = 20*sin(2*pi*t) c = 20*cos(2*pi*t) figure(1) plot(s)