How do I place Greek characters in my plot? Where can I find a list of all TeX characters and commands that can be used in MATLAB?
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
I want to place Greek characters in my plot. I would like a list of all TeX characters and commands that can be used in MATLAB.
I would like to display an ANSI-chart in MATLAB which shows the different characters that can be produced for a font.
Risposta accettata
MathWorks Support Team
il 21 Gen 2010
MATLAB 5.0 and later support a subset of TeX commands. For a complete listing of the supported TeX commands, refer to the following URL:
<http://www.mathworks.com/access/helpdesk/help/techdoc/ref/text_props.html#String>
Here is an example that shows how to use the summation symbol by using its TeX command:
figure
plot(1:10)
text(5,5,'\Sigma')
As an alternative workaround, you can download a TeX implementer and use it in conjunction with the "teximage.m" file. The "teximage.m" file is a user-contributed function available for download from the MATLAB Central File Exchange. This file can be used to display a LaTeX string as an image. You can download this file from the following URL:
<http://www.mathworks.com/matlabcentral/fileexchange/1231>
NOTE: MathWorks does not guarantee or warrant the use or content of those submissions. Any questions, issues, or complaints should be directed to the contributing author.
The file is highly recommended by other users.
0 Commenti
Più risposte (0)
Vedere anche
Categorie
Scopri di più su Labels and Annotations in Help Center e File Exchange
Prodotti
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!