Title in Subplot - How to do without shrinking plot size
조회 수: 3 (최근 30일)
이전 댓글 표시
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
Daniel Shub
2012년 5월 11일
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)?
채택된 답변
Honglei Chen
2012년 5월 11일
You can put a text box at the title place. This should not shrink the axes
댓글 수: 0
추가 답변 (1개)
참고 항목
카테고리
Help Center 및 File Exchange에서 Title에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!