How to change the plot on the matrix?

1 回表示 (過去 30 日間)
HelpAStudent
HelpAStudent 2021 年 10 月 6 日
回答済み: David Hill 2021 年 10 月 6 日
I have a matrix 6x21, when I plot
figure; plot(matrix);hold on
This makes a plot with 21 curves, just like this:
But I want the contrary, how can I have just 7 curves (one for each rows)?

採用された回答

David Hill
David Hill 2021 年 10 月 6 日
plot(matrix');

その他の回答 (0 件)

カテゴリ

Help Center および File Exchange2-D and 3-D Plots についてさらに検索

製品


リリース

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by