greek letters in a static text (GUI)

5 次查看(过去 30 天)
Pietro Rossi
Pietro Rossi 2011-9-22
Hi everyone.
How can I type greek letter in a STATIC TEXT? I'm developing my gui and I can't resolve this problem: I have seen that in the static text Matlab doesn't use Latex compilator. I know I should use html, but this seems working just with Toogle Button.
Thanks a lot for your answer, best regards
P.P.

回答(2 个)

Aurelien Queffurust

Daniel Shub
Daniel Shub 2011-9-22
Now lets see if I can get all the font encodings correct:
h = uicontrol(gcf, 'Style', 'Text', 'String', 'π')
Just use extended character sets.

类别

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