I have a list of 3 columns (x,y,z) and several rows and I did a ListPointPlot3D to that list.
It gives a particle trajectory in 3D space, but it gives it after it is completely done.
What I want is:
How can I animate this such that I could see each point being plotted and hence trace the path of the particle?
I saw Animate, ListAnimate, and Manipulate, but could not use them appropriately with ListPointPlot3D.
Thanks in advance
Can you adapt something like this
The Table in the first line is creating 20 rows of 3 columns, replace that with your actual data.
The Map Point in the first line is wrapping Point around each of your rows.
The Animate is displaying a slide show with each slide taking one more Point from your Table. You will need to adjust the PlotRange to reflect the range of your data points. You can adjust the AnimationRate and RefreshRate once you see how your data looks.
I did approximately the same thing using ListPointPlot3D, discarding the Map Point and Graphics3D, and the results were similar.
Thanks a lot.
It perfectly worked!
I would generate a list of sub list of length 1 to length of your list using Take. And then generate a list of listlineplots3d(with fixed plotrange) using a pure function or Table and then animate the list of plots using Animate. Good luck.