I want to plot multiple graphs in a single plot with some space between each signal
古いコメントを表示
I want to plot multiple graphs in a single plot with some space between each signal
7 件のコメント
jonas
2018 年 9 月 14 日
Can you show an example?
sandhya sandhya
2018 年 9 月 14 日
Walter Roberson
2018 年 9 月 14 日
sandhya sandhya
2018 年 9 月 14 日
編集済み: sandhya sandhya
2018 年 9 月 14 日
sandhya sandhya
2018 年 9 月 14 日
Walter Roberson
2018 年 9 月 14 日
Have a look at the new stackedplot() https://www.mathworks.com/help/matlab/ref/stackedplot.html . This may require using a table object
jonas
2018 年 9 月 14 日
I mean, the figure you uploaded is literally taken from the doc on stackedplot, so try it :)
回答 (1 件)
KSSV
2018 年 9 月 14 日
How about adding some number to the y values and plotting?
A = rand(10,10) ;
figure
hold on
x = 1:10 ;
for i = 1:10
plot(x,A(i,:)+i)
end
6 件のコメント
sandhya sandhya
2018 年 9 月 14 日
sandhya sandhya
2018 年 9 月 14 日
KSSV
2018 年 9 月 14 日
:) I gave you a pseudo code......A should be your data.
sandhya sandhya
2018 年 9 月 14 日
KSSV
2018 年 9 月 14 日
Share you mat file.
sandhya sandhya
2018 年 9 月 15 日
カテゴリ
ヘルプ センター および File Exchange で Line Plots についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!



