Plotting colums from matrix
古いコメントを表示
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 件のコメント
Jonathan Campelli
2015 年 4 月 14 日
Is column 12 intended to be your X or Y axis?
回答 (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
カテゴリ
ヘルプ センター および File Exchange で 2-D and 3-D Plots についてさらに検索
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!