Group Abstract Group Abstract

Message Boards Message Boards

0
|
5.8K Views
|
3 Replies
|
2 Total Likes
View groups...
Share
Share this post:

How to animate ListPointPlot3D?

Posted 6 years ago

Problem description: 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

POSTED BY: Ayman hosny
3 Replies

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.

POSTED BY: Jack I Houng
Posted 6 years ago
POSTED BY: Bill Nelson
Posted 6 years ago

Thanks a lot. It perfectly worked!

POSTED BY: Ayman hosny
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard