Does not plot all the points

7 ビュー (過去 30 日間)
Edoardo Bertolotti
Edoardo Bertolotti 2022 年 3 月 13 日
コメント済み: Edoardo Bertolotti 2022 年 3 月 16 日
So I am trying to plot a lot of data (5779x5779), but looks like the graph only takes few points. Does someone knows why is this happening?
code:plot(s3,x5mV)
It should look like this:

採用された回答

Simon Chan
Simon Chan 2022 年 3 月 13 日
(1) Use function scatter instead of plot
(2) Some of the header or some other information were saved in the mat file ( I guess from #5723).
load('variable_5V.mat');
load('variable_s3.mat');
s=scatter(s3(1:5722),x5mV(1:5722),2); % I select the first 5722 data only
grid on;
  1 件のコメント
Edoardo Bertolotti
Edoardo Bertolotti 2022 年 3 月 16 日
thanks a lot!

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

その他の回答 (0 件)

カテゴリ

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

タグ

製品


リリース

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by