Menu

[r540]: / trunk / htdocs / examples / batch_test_gd.py  Maximize  Restore  History

Download this file

12 lines (10 with data), 212 Bytes

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
import matplotlib
matplotlib.use('GD')
from matplotlib.matlab import *
t = arange(0.0, 3.0, 0.01)
for i in range(1,10):
figure(1)
s = sin(2*pi*i*t)
plot(t,s)
savefig('plot%02d' % i)
close(1)
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.