Menu

[r8174]: / trunk / users_guide / code / simple_imshow.py  Maximize  Restore  History

Download this file

6 lines (5 with data), 123 Bytes

1
2
3
4
5
# create a random MxN numerix array and plot it as an axes image
from pylab import *
X = rand(20,20)
im = imshow(X)
show()