title that spans subplots
이전 댓글 표시
Hi, I am a newbie. How can I add a title so that it spans across two graphs plotted with subplot? (I can add titles to individual plots and even add a title to a figure window but neither of these is what I want). Thanks
채택된 답변
추가 답변 (4개)
Sean de Wolski
2011년 8월 12일
How about with super title!
doc suptitle
What it looks like:

댓글 수: 3
Oleg Komarov
2011년 8월 12일
where do you find suptitle?
Sean de Wolski
2011년 8월 12일
Oh. I thought it was standard.
It's in the Bio toolbox as part of a yeast infection demo.
*A word may have been inserted for humor's sake.
Stewart Wiseman
2011년 8월 13일
Steven Lord
2018년 10월 23일
4 개 추천
the cyclist
2011년 8월 12일
One way to do this is with the text() command:
>> subplot(1,2,1), plot(1:10)
>> subplot(1,2,2), plot(1:10)
>> text(-10,10.2,'Test title spanning two subplots -- Some fine tuning will be required')
>>
In this case, the text positioning is relatively to the second axes.
Shahzad ali Zardari
2018년 10월 23일
if true
% code
end
카테고리
도움말 센터 및 File Exchange에서 Title에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!