Borrar filtros
Borrar filtros

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?

3 visualizaciones (últimos 30 días)
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.

Respuesta aceptada

MathWorks Support Team
MathWorks Support Team el 21 de En. de 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.

Más respuestas (0)

Categorías

Más información sobre Labels and Annotations en Help Center y File Exchange.

Productos

Community Treasure Hunt

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

Start Hunting!

Translated by