Borrar filtros
Borrar filtros

How to display all figures

49 visualizaciones (últimos 30 días)
Reyasudin
Reyasudin el 24 de Jun. de 2013
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.

Respuesta aceptada

Azzi Abdelmalek
Azzi Abdelmalek el 24 de Jun. de 2013
Editada: Azzi Abdelmalek el 24 de Jun. de 2013
%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

Más respuestas (0)

Categorías

Más información sobre 2-D and 3-D Plots en Help Center y File Exchange.

Etiquetas

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by