prevent _ from subscripting with suptitle
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Kathleen Hupfeld
le 1 Avr 2019
Modifié(e) : Adam Danz
le 2 Avr 2019
I want to use the suptitle function (or something similar) to put a main title over a number of subplots; however, what I'd like to print has underscores in it.
For the regular title function, this works so that I can keep underscores instead of subscripting. However, this doesn't work with suptitle. Does anyone have any suggestions?
figure(1);
suptitle(trialName, 'Interpreter', 'none');
0 commentaires
Réponse acceptée
Plus de réponses (1)
Steven Lord
le 1 Avr 2019
subplot(2, 2, 1);
subplot(2, 2, 2);
subplot(2, 2, 3);
sgtitle('x_1^2 + x_2^3', 'Interpreter', 'none')
Compare that with this title for the third subplot.
title('x_1^2+x_2^3')
0 commentaires
Voir également
Catégories
En savoir plus sur 2-D and 3-D Plots dans Help Center et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!