Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import matplotlib.pyplot as plt
- from numpy import linspace, sin, pi
- plt.ion()
- x = linspace(-pi, pi, 1001)
- plt.plot(x, sin(x))
- raw_input() #keep the window open
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement