Pyplot interactive mode. Issue or misuse?

Hello.

I want to plot the result of a calculation, show it, modify and
repeat. I have tried with pyplot interactive mode, see code:
http://pastebin.com/jsdsLN4z

The first plot shows fine, but from now on, all the new plots appear
in a new window and all of them are blank --including the first one! I
guess I am missing something. What could it be?

I am using Matplotlib 1.0.1 on Python2.5 and Windows XP.

Thanks,

David.

I don't use 'draw()'

   Paul

···

On Sun, Apr 3, 2011 at 7:07 PM, Daπid <davidmenhur@...287...> wrote:

Hello.

I want to plot the result of a calculation, show it, modify and
repeat. I have tried with pyplot interactive mode, see code:
http://pastebin.com/jsdsLN4z

The first plot shows fine, but from now on, all the new plots appear
in a new window and all of them are blank --including the first one! I
guess I am missing something. What could it be?

I am using Matplotlib 1.0.1 on Python2.5 and Windows XP.

Thanks,

David.

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself;
WebMatrix provides all the features you need to develop and
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users

--

* * * * * * * * http://www.mssl.ucl.ac.uk/~npmk/ * * * *
Dr. N.P.M. Kuin (npmk@...3511...)
phone +44-(0)1483 (prefix) -204256 (work) -276110 (home)
mobile +44(0)7806985366 skype ID: npkuin
Mullard Space Science Laboratory – University College London –
Holmbury St Mary – Dorking – Surrey RH5 6NT– U.K.