Menu

[r4812]: / trunk / htdocs / examples / subplots_adjust.py  Maximize  Restore  History

Download this file

13 lines (9 with data), 202 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
from pylab import *
subplot(211)
imshow(rand(100,100))
subplot(212)
imshow(rand(100,100))
subplots_adjust(bottom=0.1, right=0.8, top=0.9)
cax = axes([0.85, 0.1, 0.075, 0.8])
colorbar(cax=cax)
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.