Effacer les filtres
Effacer les filtres

Does not plot all the points

14 vues (au cours des 30 derniers jours)
Edoardo Bertolotti
Edoardo Bertolotti le 13 Mar 2022
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:

Réponse acceptée

Simon Chan
Simon Chan le 13 Mar 2022
(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 commentaire
Edoardo Bertolotti
Edoardo Bertolotti le 16 Mar 2022
thanks a lot!

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange

Tags

Produits


Version

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by