フィルターのクリア

How can I make a moving graph that shows new data as it comes in?

2 ビュー (過去 30 日間)
Rodmehr Semnani
Rodmehr Semnani 2015 年 11 月 6 日
回答済み: Mike Garrity 2015 年 11 月 6 日
Hey all!
I have a sensor that is plugged in to my USB port and is going to be constantly feeding me digital data (numbers).
I'd like to know how to be able to plot these, preferably on an axes that moves as new data comes in rather than one that resizes to fit the entire plot.
The plot(s) will eventually end up in a GUI if that makes any difference.
Thanks!
Tivon

採用された回答

Mike Garrity
Mike Garrity 2015 年 11 月 6 日
You're probably going to want to use the animatedline object. I would start with the examples on this page.

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by