Create and save animated line from x and y values that correspond to time data
Show older comments
I have data from a projectile. I have x and y positions. I also have a vector with corresponding time data for the x and y positions. I want to plot the projectile path ( x vs y) as an animated line where points are produced at the time in the corresponding time vector. I would also like to display a timer if possible.
Answers (1)
Adam Danz
on 11 Feb 2021
0 votes
If you get stuck, show us what you've got and describe the problem so we can focus in on it.
2 Comments
Walter Mabry
on 11 Feb 2021
Adam Danz
on 11 Feb 2021
All three methods demonstrate general approaches to animation. Could you explain why they don't work with your intentions?
Could you explain, or better yet, show us what plot you're making with those three variables?
Categories
Find more on Animation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!