- #1
Joseph Woods
- 1
- 0
I have nine sets of data with x,y coords that are the position of a particle. I can ListPlot the particle positions on a single plot, but, I want to animate this.
ListPlot[{mydata1, mydata2, mydata3, mydata4, mydata5, mydata6, mydata7, mydata8, mydata9}, PlotRange -> {{-1, 20}, {-1, 20}}]
I have been playing around with ListAnimate and I can get one particle to animate but I can not get the rest.
ListAnimate[ ListPlot[{#, #}, PlotRange -> {{-1, 20}, {-1, 20}}] & /@ mydata1]
Is there a way to get all nine particles in the same frame?
ListPlot[{mydata1, mydata2, mydata3, mydata4, mydata5, mydata6, mydata7, mydata8, mydata9}, PlotRange -> {{-1, 20}, {-1, 20}}]
I have been playing around with ListAnimate and I can get one particle to animate but I can not get the rest.
ListAnimate[ ListPlot[{#, #}, PlotRange -> {{-1, 20}, {-1, 20}}] & /@ mydata1]
Is there a way to get all nine particles in the same frame?