How cans adjust to the subplot title font size?
33 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
Steven KIM
am 23 Nov. 2021
Kommentiert: Steven KIM
am 24 Nov. 2021
Hello, everyone.
I want to grow Hs=1.5m, Tp=9sec font size in the subplot and reduce the sway font size separately, how can I modify the code?
Help me, please.
title('Sway')
[t,s]=title('H_s=1.5m, T_p=9sec','Sway', 15);
legend = gca;
legend.FontSize = 14;
Even if the font size is increased, the axis font size is also large.
I want to change only Title.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/810214/image.png)
0 Kommentare
Akzeptierte Antwort
Walter Roberson
am 23 Nov. 2021
[t,s]=title('H_s=1.5m, T_p=9sec','Sway', 'fontsize', 15);
s.FontSize = 9;
Or... use subtitle()
3 Kommentare
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Title finden Sie in Help Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!