필터 지우기
필터 지우기

Putting together matlab plots into one

조회 수: 2 (최근 30일)
Ede gerlderlands
Ede gerlderlands 2013년 7월 22일
Dear All
I have 8 separae matlab plots. Is there a way to put them into one matab figure of such as 2x4? I tried to use subplot but can't really figure it out. Help me

답변 (1개)

David Sanchez
David Sanchez 2013년 7월 22일
the first 2 indexes in subplot are the number of row and column plots in your figure.
subplot(2,4,1)
% your plot comomand here
subplot(2,4,2)
% your escond plot command here
subplot(2,4,3)
% and go on....
...
subplot(2,4,8)
% your last plot command here
  댓글 수: 1
Ede gerlderlands
Ede gerlderlands 2013년 7월 22일
편집: Ede gerlderlands 2013년 7월 22일
Thanks. I used this but my plot is actually plotxx and it doesn't receive these subplots.

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

카테고리

Help CenterFile Exchange에서 Subplots에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by