How do i expand this figure so all graphs fit perfect
3 visualizzazioni (ultimi 30 giorni)
Mostra commenti meno recenti
0 Commenti
Risposta accettata
Chad Greene
il 12 Nov 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 Commenti
Chad Greene
il 12 Nov 2014
Modificato: Chad Greene
il 12 Nov 2014
Replace my plot lines with your imshow lines. And change your title lines to
title('my title','vert','top','backgroundcolor','white')
Più risposte (1)
Vedere anche
Categorie
Scopri di più su Subplots in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!