Manually modifying title position in tiledlayout environment

조회 수: 41 (최근 30일)
Roderick
Roderick 2023년 12월 7일
편집: Matt J 2023년 12월 7일
Hello everyone
I was wondering if it is possible to manually modify the overall title position in the tiledlayout environment. I currently have it positioned at the top of my figures, as seen in the attached image:
being the title defined in my code like:
t=tiledlayout(2,2);
title(t,['First case'],'FontSize',25,'interpreter','latex');
I was wondering if it is possible to move the title a little closer to the upper limit of the figure environment than it currently is, how could this be done?

채택된 답변

Matt J
Matt J 2023년 12월 7일
편집: Matt J 2023년 12월 7일
I was wondering if it is possible to move the title a little closer to the upper limit of the figure environment than it currently is...?
No, but if you're really asking if there's a way to add space between the title and the tiles, you could add an additional blank line to the title:
title(t,{'First case'; ' '},'FontSize',25,'interpreter','latex');

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Title에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by