How to change 3D trajectory animation to scatter version in matplotlib?

0

How to change 3D trajectory animation to scatter version in matplotlib?

At first, I followed the manual of Matplotlib, and I made a trajectory animation of particles. It worked well, and I could modify random data to my own *.csv files.

However, I also need a “scatter animation”, without trajectory lines like molecular dynamic animation. Of course matplotlib library has scatter function, but for that, I should change all the data types.

In case of trajectory, it has complicate array and lists. And I don’t want to make big change of the types. (Final result is a list of array which include several arrays.)

I write down the manual of Matplotlib.

I wonder if I can change trajectory to scatter without changing data type.

20201201_232632