From: <qu...@gm...> - 2009-10-13 22:39:07
|
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...@gm... 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 > > On Tue, Oct 13, 2009 at 03:54:22PM -0600, Jeff Whitaker wrote: > > qu...@gm... 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 still open) > > > > > > How do i free the shell from the plot thread? > > > > > > Thanks > > > > > > > > > > > > > > http://matplotlib.sourceforge.net/users/shell.html > > > > bottom line - don't call show. > > > > -Jeff > > > > -- > > Jeffrey S. Whitaker Phone : (303)497-6313 > > Meteorologist FAX : (303)497-6449 > > NOAA/OAR/PSD R/PSD1 Email : Jef...@no... > > 325 Broadway Office : Skaggs Research Cntr 1D-113 > > Boulder, CO, USA 80303-3328 Web : http://tinyurl.com/5telg > > > > > > ------------------------------------------------------------------------------ > > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > > is the only developer event you need to attend this year. Jumpstart your > > developing skills, take BlackBerry mobile applications to market and stay > > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > > http://p.sf.net/sfu/devconference > > _______________________________________________ > > Matplotlib-users mailing list > > Mat...@li... > > https://lists.sourceforge.net/lists/listinfo/matplotlib-users > > -- > The king who needs to remind his people of his rank, is no king. > > To gain that which is worth having, it may be necessary to lose everything else. > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry(R) Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9 - 12, 2009. Register now! > http://p.sf.net/sfu/devconference > _______________________________________________ > Matplotlib-users mailing list > Mat...@li... > https://lists.sourceforge.net/lists/listinfo/matplotlib-users -- The king who needs to remind his people of his rank, is no king. To gain that which is worth having, it may be necessary to lose everything else. |