Re: [Matplotlib-users] Fast imshow plotting

2009-05-04 Thread Joey Wilson
Eric and Thomas, Thanks for your help. I was able to get it plotting MUCH faster. Here's my code: #!/usr/bin/env python from pylab import * from scipy import * ion() img = standard_normal((50,100)) image = imshow(img,interpolation='nearest',animated=True,label=blah) for k in range(1,100):

[Matplotlib-users] Fast imshow plotting

2009-05-02 Thread Joey Wilson
I am creating a script that generates images and displays them to the screen in real time. I created the following simple script: __ #!/usr/bin/env python from pylab import * from scipy import * for k in range(1,1): img = standard_normal((40,40))

Re: [Matplotlib-users] Fast imshow plotting

2009-05-02 Thread Thomas Robitaille
Not sure if this will help, but maybe you can do something like this? --- #!/usr/bin/env python from pylab import * from scipy import * img = standard_normal((40,40)) image = imshow(img,interpolation='nearest',animated=True,label=blah) for k in range(1,1): img =

Re: [Matplotlib-users] Fast imshow plotting

2009-05-02 Thread Eric Firing
Thomas Robitaille wrote: Not sure if this will help, but maybe you can do something like this? --- #!/usr/bin/env python from pylab import * from scipy import * To run this as a standalone script, without ipython -pylab, you need to include: ion() img = standard_normal((40,40))