Animate 3D plotting data using Mayavi in Python

943 views Asked by At

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!

1

There are 1 answers

2
jcoppens On

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