Menu

[r8870]: / 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()
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.