Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import numpy
- from numpy import arange
- from matplotlib import pyplot as plt
- #print (range(1,11))
- #print (range(10,0,-1))
- A=1.5
- W=2
- x=(arange(0,2*numpy.pi,0.01))
- f=0.5
- for i, W in enumerate(arange(1.0,10.0,0.1)):
- y=A* numpy.sin(W*x+f)
- plt.plot(x,y)
- plt.ylim()
- plt.savefig("/home/user/123/test" + str (i) + ".png")
- plt.clf()
- plt.cla()
- numpy.exp
Advertisement
Add Comment
Please, Sign In to add comment