Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- __author__ = "Harry"
- import matplotlib.pyplot as plot
- import math
- amplitude = 1
- frequency = 1
- delay = 100
- y = [math.sin(math.radians(e)) * amplitude for e in range(0, 360)] * frequency
- x = list(range(len(y)))
- plot.plot(x, y)
- plot.show()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement