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.

 Akzeptierte Antwort

Azzi Abdelmalek
Azzi Abdelmalek am 24 Jun. 2013
Bearbeitet: Azzi Abdelmalek am 24 Jun. 2013

3 Stimmen

%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

Weitere Antworten (0)

Kategorien

Mehr zu Interactive Control and Callbacks finden Sie in Hilfe-Center und File Exchange

Produkte

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by