Filter löschen
Filter löschen

How to remove data from a real-time plot after a certain period of time?

2 Ansichten (letzte 30 Tage)
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!

Akzeptierte Antwort

Bruno Luong
Bruno Luong am 12 Aug. 2019
Have you seen the 'MaximumNumPoints' option of animatedline()?

Weitere Antworten (0)

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!

Translated by