from pylab import *
z = rand(10, 25)
c = pcolor(z)
set_cmap('hot')
colorbar()
c = pcolor(z, edgecolors='w', linewidths=1)
axis([0, 25, 0, 10])
savefig('plt.png')
show()
Plotting eigenbehaviours with matplotlib