from pylab import * y = 0 x = arange(0, 2*pi, 0.01) for i in range(1, 10, 2): y = y + (1.0/i)*sin(i*x) plot(x, y) show()