How do I print [%] in a title plot while using LaTeX interpeter?
24 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Darío Slaifstein
le 12 Juil 2020
Réponse apportée : madhan ravi
le 12 Juil 2020
Hi, guys!
I'm creating a plot whose title should look like:
η[%]
while using:
title('$\eta [%]$','fontsize',14,'interpreter','latex')
But it returns the following Warning and the wrong title:
Warning: Error updating Text.
String scalar or character vector must have valid interpreter syntax:
$\eta [

any idea?
0 commentaires
Réponse acceptée
madhan ravi
le 12 Juil 2020
title('$\eta \left[\%\right]$','interpreter','latex','FontSize',14)
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!