I want to plot multiple graphs in a single plot with some space between each signal
조회 수: 2 (최근 30일)
이전 댓글 표시
I want to plot multiple graphs in a single plot with some space between each signal
댓글 수: 7
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
참고 항목
카테고리
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!