# L-14 MCS 507 Fri 23 Sep 2011 : randshow.py

# On Friday morning it is still too early to go the movies,
# we make our own animation, using pylab.

# After saving this script as "randshow.py",
# at the command prompt $, type
# $ ipython --pylab
# and then type "run randshow.py" at the ipython prompt.

from pylab import *
import numpy as np
for i in xrange(100):
   # A = np.random.randint(0,2,(100,100))
   A = np.random.normal(0,1,(100,100))
   imshow(A)
   draw()
