Plot Title Problem
Afficher commentaires plus anciens
My code
title(filename);
where filename is a variable such as Plot_Dot
I would like the title to be exactly "Plot_Dot"
however, because of the underscore, D is being displayed as a
subscript. How do I avoid that?
Réponse acceptée
Plus de réponses (1)
Drew Weymouth
le 9 Nov 2011
1 vote
Escape it with the backslash. title('Plot\_Dot')
Catégories
En savoir plus sur Title 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!