Advertisement
Guest User

Untitled

a guest
Jan 19th, 2018
97
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.17 KB | None | 0 0
  1. def animate(t):
  2. global theta1
  3. global theta2
  4. global dt
  5. line.set_data(theta1[int(t)],theta2[int(t)])
  6. return (line,)
  7. #theta1, theta2 are all lists with the same size
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement