Menu

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

Download this file

7 lines (5 with data), 136 Bytes

1
2
3
4
5
6
# create a random MxN numerix array and plot it as an axes image
from matplotlib.matlab 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.