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):
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))
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 =
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))