How to remove data from a real-time plot after a certain period of time?
4 ビュー (過去 30 日間)
古いコメントを表示
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 件のコメント
採用された回答
Bruno Luong
2019 年 8 月 12 日
Have you seen the 'MaximumNumPoints' option of animatedline()?
1 件のコメント
dpb
2019 年 8 月 12 日
Thanks Bruno, I keep forgetting about the animated line having been introduced...
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Data Exploration についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!