How to remove data from a real-time plot after a certain period of time?
2 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Carol Smyth
am 12 Aug. 2019
Kommentiert: dpb
am 12 Aug. 2019
I am using the animatedline function to plot real time data which is inputted to Matlab from another system.
The data plots multiple loops (circles) but after the first few loops it is difficult to see where the current loop is exactly.
Is there a way to remove the data that has been plotted after a certain amount of time or only display x number of data points?
Thank you!
0 Kommentare
Akzeptierte Antwort
Bruno Luong
am 12 Aug. 2019
Have you seen the 'MaximumNumPoints' option of animatedline()?
1 Kommentar
dpb
am 12 Aug. 2019
Thanks Bruno, I keep forgetting about the animated line having been introduced...
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Animation finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!