suptitle in 2016a
Afficher commentaires plus anciens
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?
Réponse acceptée
Plus de réponses (3)
Steven Lord
le 11 Avr 2019
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 commentaire
Bart Van Hove
le 12 Avr 2019
Brilliant! Thanks for the new feature
Azzi Abdelmalek
le 22 Mar 2016
0 votes
There is no a function named suptitle in Matlab. Maybe you need to use subplot command
elijah tapiwa chipato
le 16 Déc 2016
Modifié(e) : elijah tapiwa chipato
le 16 Déc 2016
0 votes
Is it possible to put a hat, bar or dot on Greek letters when using suptitle
1 commentaire
Bart Van Hove
le 11 Avr 2019
Modifié(e) : Bart Van Hove
le 11 Avr 2019
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.
Catégories
En savoir plus sur 2-D and 3-D Plots dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!