How does a line plot handle data larger than the axes size?

1 回表示 (過去 30 日間)
Otis
Otis 2022 年 10 月 21 日
コメント済み: Otis 2022 年 10 月 21 日
If I plot a time series with 27,000 samples in an axes that is 900 pixels wide (i.e. the x-axis). how does the plot function fit the data in the plot? Because there are 30 samples per pixels, how does the plot function determine what to plot for each pixel? Does it do straight decimation? Does it peak pick? I tried a few examples, and it appears that the plot function peak picks. I want to verify this, and also ask if this is something that the user can select.
Thanks times a million,
Bill

採用された回答

Jan
Jan 2022 年 10 月 21 日
編集済み: Jan 2022 年 10 月 21 日
  1 件のコメント
Otis
Otis 2022 年 10 月 21 日
Wow ... A whole new (to me) area of science ... how to reduce a line of N points down to M points (N >> M) so a plot looks "correct", with minimal loss of information to the observer. Fascinating.
(Quick follow up question: Are there similar approaches for dealing with the same problem for 2D image plots where the data size MxN is larger than the axes size mxn?)
Thanks so much for your response,
Bill

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

その他の回答 (0 件)

カテゴリ

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

タグ

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by