Re: [Matplotlib-users] plotting from within ipython, and then go on in the shell calculations

2009-10-14 Thread Uri Laserson
jects when I was trying to get around exactly the same problem. Uri -- Forwarded message -- From: qu...@gmx.at To: Jeff Whitaker Date: Wed, 14 Oct 2009 02:09:21 +0200 Subject: Re: [Matplotlib-users] plotting from within ipython, and then go on in the shell calculations but i want t

Re: [Matplotlib-users] plotting from within ipython, and then go on in the shell calculations

2009-10-14 Thread Johann Rohwer
On Wednesday 14 October 2009, Ernest Adrogué wrote: > 13/10/09 @ 14:35 (-1000), thus spake Eric Firing: > > Ernest Adrogué wrote: > > No, you have to call ipython with a threading option: > >-gthread, -qthread, -q4thread, -wthread, -pylab > > Ah, I didn't know that. In my Debian machine, it

Re: [Matplotlib-users] plotting from within ipython, and then go on in the shell calculations

2009-10-14 Thread Ernest Adrogué
13/10/09 @ 14:35 (-1000), thus spake Eric Firing: > Ernest Adrogué wrote: > >14/10/09 @ 02:38 (+0200), thus spake qu...@gmx.at: > >>okay. don't shoot me > >> > >>you need to start ipython with: > >> > >> ipython -pylab > >> > > > >or alternatively, start ipython normally, import matplotlib.pyplot

Re: [Matplotlib-users] plotting from within ipython, and then go on in the shell calculations

2009-10-13 Thread Eric Firing
Ernest Adrogué wrote: > 14/10/09 @ 02:38 (+0200), thus spake qu...@gmx.at: >> okay. don't shoot me >> >> you need to start ipython with: >> >>ipython -pylab >> > > or alternatively, start ipython normally, import matplotlib.pyplot > and then call matplotlib.pylot.ion() which turns the 'interac

Re: [Matplotlib-users] plotting from within ipython, and then go on in the shell calculations

2009-10-13 Thread Ernest Adrogué
14/10/09 @ 02:38 (+0200), thus spake qu...@gmx.at: > okay. don't shoot me > > you need to start ipython with: > >ipython -pylab > or alternatively, start ipython normally, import matplotlib.pyplot and then call matplotlib.pylot.ion() which turns the 'interactive mode' on. then when you cre

Re: [Matplotlib-users] plotting from within ipython, and then go on in the shell calculations

2009-10-13 Thread qubax
okay. don't shoot me you need to start ipython with: ipython -pylab as noted in: http://matplotlib.sourceforge.net/users/shell.html made someone else can benefit from my mistake sorry for bothering you q On Wed, Oct 14, 2009 at 02:09:21AM +0200, qu...@gmx.at wrote: > but i want to: > 1)

Re: [Matplotlib-users] plotting from within ipython, and then go on in the shell calculations

2009-10-13 Thread Jeff Whitaker
qu...@gmx.at wrote: > but i want to: > 1) plot something > 2) go on in ipython (with the figure/plot staying on) > > is that really not possible? > > thanks, > q > That's exactly what happens in ipython (in pylab mode), if you don't call show. -Jeff > On Tue, Oct 13, 2009 at 03:54:22PM -060

Re: [Matplotlib-users] plotting from within ipython, and then go on in the shell calculations

2009-10-13 Thread qubax
but i want to: 1) plot something 2) go on in ipython (with the figure/plot staying on) is that really not possible? thanks, q On Tue, Oct 13, 2009 at 03:54:22PM -0600, Jeff Whitaker wrote: > qu...@gmx.at wrote: > > Greetings. > > > > What i want to do is something like: > > > > ipython ... > >

Re: [Matplotlib-users] plotting from within ipython, and then go on in the shell calculations

2009-10-13 Thread Jeff Whitaker
qu...@gmx.at wrote: > Greetings. > > What i want to do is something like: > > ipython ... > > > > t=linspace(0,2,50) > y=sin(2*pi*t) > > pyplot.plot(t,y) > pyplot.show() > > > > I get the plot here ... but now i want to do some more stuff in > the ipython shell (and possibly have the plot

[Matplotlib-users] plotting from within ipython, and then go on in the shell calculations

2009-10-13 Thread qubax
Greetings. What i want to do is something like: ipython ... t=linspace(0,2,50) y=sin(2*pi*t) pyplot.plot(t,y) pyplot.show() I get the plot here ... but now i want to do some more stuff in the ipython shell (and possibly have the plot still open) How do i free the shell from the pl