Menu

[r2807]: / trunk / course / examples / mpl_pylab.py  Maximize  Restore  History

Download this file

9 lines (8 with data), 139 Bytes

1
2
3
4
5
6
7
8
from pylab import *
plot([1,2,3])
title('hi mom')
grid(True)
xlabel('time')
ylabel('volts')
savefig('../fig/mpl_one_two_three.png')
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.