How to add a subfigure on top of an other figure?

Respuestas (1)

Sean de Wolski
Sean de Wolski el 28 de Mayo de 2015

0 votos

Add another axes with the axes() command.
See the example here: doc axes

1 comentario

so you'll then modify the new axes with the position parameter like:
figure(1)
mainAX = plot(magic(3).*randi(10,3,3));
subAX = axes('position',[.4 .7 .2 .2]);
xlabel('Voltage')
ylabel('current')

Iniciar sesión para comentar.

Categorías

Más información sobre Graphics Object Properties en Centro de ayuda y File Exchange.

Etiquetas

Preguntada:

el 28 de Mayo de 2015

Comentada:

el 28 de Mayo de 2015

Community Treasure Hunt

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

Start Hunting!

Translated by