How can I type in Greek letter like α or β in MATLAB while I have tried \alpha and \beta ?THANKS!
651 views (last 30 days)
Show older comments
I don't konw how to type in Greek letter like α and β in MATLAB ,and I have tried the tip ---- \alpha \beta----however,it doesn't work.
THANKS!
>> \alpha \alpha ↑ 错误: 运算符的使用无效。
>> \Beta \Beta ↑ 错误: 运算符的使用无效。
0 Comments
Answers (4)
Walter Roberson
on 29 Jun 2018
6 Comments
Walter Roberson
on 15 Apr 2022
You need to execute in Live Script to see the formatted characters.
mohammad mortezaie
on 3 Aug 2021
In "more properties" in "Text" change interpreter as "tex"
2 Comments
Walter Roberson
on 13 Dec 2021
Assuming that you have a newer version of MATLAB:
In the case that you want to change the interpreter for an axes label:
Click on the axes label you are interested in. Then use the Figure menu item Edit -> current object properties to bring up the Property Inspector. In the Ticks section, click on the downward-pointing triangle that is below "YTickLabel" in order to show more Ticks properties. Scroll down there and you will see TickLabelInterpreter and a drop-menu there to change it
In the case that you want to change the interpreter for something written on the plot using text():
Click on the text you are interested in. Then use the Figure menu item Edit -> current object properties to bring up the Property Inspector. In the TEXT section (near the top), you will see Interpreter and a drop menu there to change it.
If you have an older version of MATLAB, the details might be different (for example it was different around 2016)
See Also
Categories
Find more on Labels and Annotations in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!