0

I have many 3D arrays containing data of a quantity at every point in space. Therefore,

A10[4][3][6]

gives the value of this quantity at coordinates (4,3,6). This array A10 contains the values at some time t = 10. There are arrays like this for 200 units of time. The value of this quantity changes with time in space. I wish to animate this data.

How can I do this using Mayavi or any other software?

Babaji
  • 398
  • 1
  • 4
  • 18
  • What have you tried thusfar? Implement answer in your question (prevents down-voting because it shows effort). See my questions and suggestions in my answer. (End of Review). – ZF007 Dec 31 '19 at 10:53

1 Answers1

1

You may use Matplotlib animation.FuncAnimation to make 3D animation with Matplotlib.

You will find a 3D animation working example in the official documentation.


You may also keep mayavi as 3D render, in that case you may take a look on mlab_animating on the mayavi official documentation


Note also that your question is near similar to:

A. STEFANI
  • 6,707
  • 1
  • 23
  • 48