x y plot over a long period of time
15 ビュー (過去 30 日間)
古いコメントを表示
Hi,
I am plotting an x y plot with time on the x axis. Each tenth of a second there are 500 point, so 5000 points every second. I want to look at the data over the span of at least a minute, hopefully more.
First off, is there any problem with this? Will this overload matlab somehow? Do I need to change a variable to "long"?
Secondly, and more importantly, what is the best way to graph this and view/scroll through it. Right now the graph is so scrunched up in the horizontal direction you cant see anything that is going on. I would like to scale it so the graph is spread out in the x direction so you can easily see all the points clearly. Is there a function I could use? I tried using zoomOrientation but I have R2011b and it doesnt seem to work with that old of a version. Any other recommendations?
Patrick
0 件のコメント
採用された回答
Walter Roberson
2017 年 6 月 29 日
If you add a lot of points individually, there will be a performance penalty. If you are adding them in batches and you do not need them to be connected, then it can be more efficient to use scatter() to add them as a scatter plot.
Unfortunately you cannot use animatedline() as that is newer than your version.
0 件のコメント
その他の回答 (0 件)
参考
カテゴリ
Help Center および File Exchange で Scatter Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!