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

4 ビュー (過去 30 日間)
Carol Smyth
Carol Smyth 2019 年 8 月 12 日
コメント済み: dpb 2019 年 8 月 12 日
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!

採用された回答

Bruno Luong
Bruno Luong 2019 年 8 月 12 日
Have you seen the 'MaximumNumPoints' option of animatedline()?
  1 件のコメント
dpb
dpb 2019 年 8 月 12 日
Thanks Bruno, I keep forgetting about the animated line having been introduced...

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeData Exploration についてさらに検索

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by