필터 지우기
필터 지우기

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 (최근 30일)
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.

채택된 답변

MathWorks Support Team
MathWorks Support Team 2010년 1월 21일
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개)

카테고리

Help CenterFile Exchange에서 Labels and Annotations에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by