Effacer les filtres
Effacer les filtres

How to connect dots in figure?

2 vues (au cours des 30 derniers jours)
Harsha M V
Harsha M V le 17 Sep 2021
Modifié(e) : Chunru le 17 Sep 2021
I have a 50x6 matrix,
How to plot this matrix, such that all row data are conncted?
It should be like 50 lines in the figure.

Réponses (1)

Chunru
Chunru le 17 Sep 2021
Modifié(e) : Chunru le 17 Sep 2021
% data
x = randn(50, 6)*.5+(1:6);
% 6 lines, 50 data points each line
% if you really want to plot 50 lines, then: plot(x')
plot(x)

Catégories

En savoir plus sur Graphics Object Properties dans Help Center et File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by