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.