Advertisement
Guest User

Untitled

a guest
Sep 21st, 2014
158
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.16 KB | None | 0 0
  1. import matplotlib.pyplot as plt
  2. from numpy import linspace, sin, pi
  3. plt.ion()
  4.  
  5. x = linspace(-pi, pi, 1001)
  6. plt.plot(x, sin(x))
  7.  
  8. raw_input() #keep the window open
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement