Re: [Matplotlib-users] Replotting

2010-04-22 Thread Stephen George
On 23/04/2010 10:30 AM, williamol...@comcast.net wrote: I use pylab.plot(x,y) for exploring or debugging some functions or subroutines. I would like to cycle through 2 or more plot windows, in a simple way that won't force me to entangle the code in bothersome ways. But I can't seem to get mor

[Matplotlib-users] Replotting

2010-04-22 Thread williamolsen
I use pylab.plot(x,y) for exploring or debugging some functions or subroutines. I would like to cycle through 2 or more plot windows, in a simple way that won't force me to entangle the code in bothersome ways. But I can't seem to get more than one plot window to open per launch. Here is an ex

Re: [Matplotlib-users] Replotting inside a while loop

2007-01-23 Thread Ted Drain
See the docs on interactive mode... http://matplotlib.sourceforge.net/interactive.html At 10:39 AM 1/23/2007, Tommy Grav wrote: >On Jan 23, 2007, at 1:28 PM, Darren Dale wrote: > > > On Tuesday 23 January 2007 13:20, Tommy Grav wrote: > >> I have a program that enters a while loop, calculates a b

Re: [Matplotlib-users] Replotting inside a while loop

2007-01-23 Thread Tommy Grav
On Jan 23, 2007, at 1:28 PM, Darren Dale wrote: > On Tuesday 23 January 2007 13:20, Tommy Grav wrote: >> I have a program that enters a while loop, calculates a bunch of >> arrays and then plots >> a figure. The user then looks at the figure and is asked wether the >> result is ok. If the >> answ

Re: [Matplotlib-users] Replotting inside a while loop

2007-01-23 Thread Darren Dale
On Tuesday 23 January 2007 13:20, Tommy Grav wrote: > I have a program that enters a while loop, calculates a bunch of > arrays and then plots > a figure. The user then looks at the figure and is asked wether the > result is ok. If the > answer is no, then the calculations are redone and the figure

[Matplotlib-users] Replotting inside a while loop

2007-01-23 Thread Tommy Grav
I have a program that enters a while loop, calculates a bunch of arrays and then plots a figure. The user then looks at the figure and is asked wether the result is ok. If the answer is no, then the calculations are redone and the figure replotted. If the answer is yes then it exits the loop.