Title in Subplot - How to do without shrinking plot size
Afficher commentaires plus anciens
I want to add a title to a series of plots (generated using subplot). I have three across the sheet (so 3,3,3). When I add the title the middle plot (subplot 1,3,2) shrinks in size and is not the same as the others. How can I find a workaround on this?
Thanks, matt
2 commentaires
Daniel Shub
le 11 Mai 2012
When I run
h = arrayfun(@(ii)subplot(3,3,ii), 1:9);
arrayfun(@(h)plot(h, 1:10), h);
title(h(2), 'hello')
adding the title shrinks all the plots, not just the the one the title is added to. What do you mean by (subplot 1,3,2)?
Matthew
le 11 Mai 2012
Réponse acceptée
Plus de réponses (1)
Matthew
le 11 Mai 2012
0 votes
Catégories
En savoir plus sur Title dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!