can i tilte a figure including back slash character?
10 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
larryb bliven
le 26 Mai 2015
Réponse apportée : Star Strider
le 26 Mai 2015
fig_title = 'x\y'; title(fig_title) ;
gives error 'Warning: Unable to interpret TeX string'
same warning for fig_title = ['x', char(92), 'y']; is there a proper way to write the code?
0 commentaires
Réponse acceptée
Star Strider
le 26 Mai 2015
A backslant (\) causes the following character to be rendered literally. So to print one in the title, use two:
title('x\\y')
0 commentaires
Plus de réponses (0)
Voir également
Catégories
En savoir plus sur Title dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!