Plotting colums from matrix
7 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
I am looking to plot certain colums from a matrix. I want to plot colums 7-10 and column 12 all on a line graph. Thanks
1 commentaire
Réponses (1)
William
le 14 Avr 2015
If your data array is like...... data(row,column)
a = data(:,7:10)
b = data(:,12)
hold on
plot(a)
plot(b)
hold off
0 commentaires
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!