How to display all figures

Hello,
when I run my matlab m file. Only the last plotted figure displayed. May I know what should I do in order to display all figure plotted in the matlab script.

 채택된 답변

Azzi Abdelmalek
Azzi Abdelmalek 2013년 6월 24일
편집: Azzi Abdelmalek 2013년 6월 24일

3 개 추천

%each plot in one figure
figure(1)
plot(x1,y1)
figure(2)
plot(x2,y2)
%and so on
%All plot in one figure
figure
hold on
plot(x1,y1)
plot(x2,y2)
%and so o

추가 답변 (0개)

카테고리

도움말 센터File Exchange에서 Creating, Deleting, and Querying Graphics Objects에 대해 자세히 알아보기

제품

태그

Community Treasure Hunt

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

Start Hunting!

Translated by