Menu

[r5380]: / trunk / users_guide / code / figure_mosaic.py  Maximize  Restore  History

Download this file

16 lines (10 with data), 303 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
from pylab import *
rc('axes', hold=True)
rc('image', origin='upper')
Z = arange(40000.0); Z.shape = 200,200
Z[:,50:] = 1
im1 = figimage(Z, xo=0, yo=0)
im2 = figimage(Z, xo=100, yo=100, alpha=.8)
savefig('../figures/figure_mosaic.eps')
savefig('../figures/figure_mosaic.png', dpi=72)
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.