plot(matrix');
How to change the plot on the matrix?
2 次查看(过去 30 天)
显示 更早的评论
I have a matrix 6x21, when I plot
figure; plot(matrix);hold on
This makes a plot with 21 curves, just like this:
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/759681/image.png)
But I want the contrary, how can I have just 7 curves (one for each rows)?
0 个评论
采纳的回答
更多回答(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!