Function producing two figure

조회 수: 23 (최근 30일)
Liber-T
Liber-T 2011년 7월 19일
Hye, I made a function who gives 6 plot. I know how to post them all in one figure by using subplot. But I would like to post them on two figure. Two plot on the first figure and four on the second.

채택된 답변

Friedrich
Friedrich 2011년 7월 19일
Hi,
do the following
figure
subplot(1,2,1)
%plot
subplot(1,2,2)
%plot
figure
subplot(2,2,1)
%plot
subplot(2,2,2)
%plot
subplot(2,2,3)
%plot
subplot(2,2,4)
%plot
  댓글 수: 1
Jan
Jan 2011년 7월 19일
@Friedrich: You are creating two figures by calling the command FIGURE twice. Sometimes the best solutions are a kind of straight. +1

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

추가 답변 (0개)

카테고리

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