Plotting colums from matrix
1 回表示 (過去 30 日間)
古いコメントを表示
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 件のコメント
回答 (1 件)
William
2015 年 4 月 14 日
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 件のコメント
参考
カテゴリ
Help Center および File Exchange で Line Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!