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?

2 views (last 30 days)
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.

Accepted Answer

MathWorks Support Team
MathWorks Support Team on 21 Jan 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.

More Answers (0)

Categories

Find more on Labels and Annotations in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!