suptitle in 2016a
显示 更早的评论
I have been using suptitle in older versions of matlab.
This seems to have disappeared from 2016a - am I missing something or has it gone?
采纳的回答
更多回答(3 个)
Steven Lord
2019-4-11
If you are using release R2018b or later, I recommend using the sgtitle function instead of suptitle.
subplot(2, 2, 1);
plot(1:10);
subplot(2, 2, 4);
surf(peaks);
sgtitle('$\hat{a} + \frac{b}{c}$', 'Interpreter', 'LaTeX')
1 个评论
Bart Van Hove
2019-4-12
Brilliant! Thanks for the new feature
Azzi Abdelmalek
2016-3-22
0 个投票
There is no a function named suptitle in Matlab. Maybe you need to use subplot command
elijah tapiwa chipato
2016-12-16
编辑:elijah tapiwa chipato
2016-12-16
0 个投票
Is it possible to put a hat, bar or dot on Greek letters when using suptitle
1 个评论
Bart Van Hove
2019-4-11
编辑:Bart Van Hove
2019-4-11
I'm not sure you can use the Latex interpreter, but one feature this (practically undocumented function) supports is multiple lines when given a cell array of strings. I find the main downside of suptitle, apart from being non-standard, is the excessive amount of space it allocates for itself on a figure, shrinking the subplots below it.
类别
在 帮助中心 和 File Exchange 中查找有关 2-D and 3-D Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!