2

I have an array of points (x,y,z) that I would like to animate in 3D using Mayavi (Python). I am currently using a Plot3D command to plot all of the points simultaneously (modeling the movement of a particle), but would love some help on the animation.

Thanks!

  • see http://stackoverflow.com/questions/14287185/animating-a-mayavi-points3d-plot – aestrivex Jun 30 '15 at 19:20
  • http://docs.enthought.com/mayavi/mayavi/auto/example_mlab_visual.html http://docs.enthought.com/mayavi/mayavi/mlab_animating.html – aestrivex Jun 30 '15 at 19:21

1 Answers1

0

Matplotlib offers a lot of possibilities for animation. Have a look at the specific routines for animation. In particular, there's a specific example for 3D plotting.

There are quite a few tutorials on the 'web. Eg. Matplotlib Animation Tutorial and Animated 3-D Plots in Python

jcoppens
  • 5,115
  • 6
  • 25
  • 41
  • Thank you! Still trying to use Mayavi if possible, but this is extremely helpful. – Surya Dutta Jun 28 '15 at 21:27
  • the question was about mayavi, matplotlib despite ease of use, has some limitations in 3d https://matplotlib.org/mpl_toolkits/mplot3d/faq.html – chro Nov 12 '18 at 13:23