I want to plot multiple graphs in a single plot with some space between each signal

조회 수: 3 (최근 30일)
I want to plot multiple graphs in a single plot with some space between each signal
  댓글 수: 7
jonas
jonas 2018년 9월 14일
I mean, the figure you uploaded is literally taken from the doc on stackedplot, so try it :)

댓글을 달려면 로그인하십시오.

답변 (1개)

KSSV
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
sandhya sandhya 2018년 9월 15일
I attached my mat files and i want to plot all these mat signals in a single plot(like the plot in your previous comment)and i think we should reduce the amplitude of the signals also.

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile 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!

Translated by