Function producing two figure

23 visualizaciones (últimos 30 días)
Liber-T
Liber-T el 19 de Jul. de 2011
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.

Respuesta aceptada

Friedrich
Friedrich el 19 de Jul. de 2011
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 comentario
Jan
Jan el 19 de Jul. de 2011
@Friedrich: You are creating two figures by calling the command FIGURE twice. Sometimes the best solutions are a kind of straight. +1

Iniciar sesión para comentar.

Más respuestas (0)

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by