How do i expand this figure so all graphs fit perfect

3 visualizaciones (últimos 30 días)
jason
jason el 12 de Nov. de 2014
Comentada: jason el 12 de Nov. de 2014

Respuesta aceptada

Chad Greene
Chad Greene el 12 de Nov. de 2014
Instead of using subplot(2,2,1), try this
figure
axes('position',[0 .5 .5 .5])
plot(1:10,1:10,'b')
axes('position',[.5 .5 .5 .5])
plot(1:10,1:10,'r')
axes('position',[0 0 .5 .5])
plot(1:10,1:10,'k')
axes('position',[.5 0 .5 .5])
plot(1:10,1:10,'m')
  3 comentarios
Chad Greene
Chad Greene el 12 de Nov. de 2014
Editada: Chad Greene el 12 de Nov. de 2014
Replace my plot lines with your imshow lines. And change your title lines to
title('my title','vert','top','backgroundcolor','white')
jason
jason el 12 de Nov. de 2014
thank you, it works perfect.

Iniciar sesión para comentar.

Más respuestas (1)

Robert Cumming
Robert Cumming el 12 de Nov. de 2014
you may be interested in this FEX submission which allows for you to customise the spacing.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by