why \pi don't work??
8 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
why i dont get the symbol of pi?
1 commentaire
Stephen23
le 20 Oct 2021
"why i dont get the symbol of pi?"
Why do you expect that entering a TeX command in the MATLAB command prompt should return a "symbol of pi" ?
Did MATLAB turn into a TeX compiler overnight?
Réponses (1)
Rik
le 20 Oct 2021
Why did you expect it to? This isn't LaTeX.
If you want the pi symbol in a character vector that is possible:
char(960)
Or you can use a text object, which allows you to use LaTeX syntax:
text(0.5,0.5,'\pi')
0 commentaires
Voir également
Catégories
En savoir plus sur LaTeX 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!