How to display UNICODE/IPA characters within GUIs and plots?
6 次查看(过去 30 天)
显示 更早的评论
I need to build GUIs and plots showing unicode characters and/or IPA fonts. How to do this? Please tell me step by step. Kind regards. Francesco
0 个评论
回答(3 个)
Walter Roberson
2013-11-22
Unfortunately, unless you draw the characters individually (or bitmap them into place), then all that you can access are the characters up to 255, together with whatever is supported in latek (such as greek characters)
0 个评论
Francesco Sigona
2013-11-22
编辑:Walter Roberson
2013-12-8
4 个评论
Walter Roberson
2013-12-8
I have not managed to figure it out. I did download the fonts and installed them, and can see them in the font list, but I cannot figure out how to activate the alternative symbols. (Note: I was working on OS-X, not MS Windows)
Constantino Carlos Reyes-Aldasoro
2019-12-6
Hello.
This may seem rather simple but it *works*, you can just copy-paste the symbols from a webpage, for instance
https://en.wikipedia.org/wiki/International_Phonetic_Alphabet_chart
directly to the matlab editor and place each symbol inside a cell, i.e.
phoneticSymbols = {'I','ɮ','ɳ̊'};
And that works fine. HOWEVER, this does not work cross-platform, so if you work in windows, will not work in Mac and vice versa. I am not an expert in phonetics so not sure if the symbols are accurate, but to my untrained engineer eye, they look fine, see the example below.
![example10.jpg](https://www.mathworks.com/matlabcentral/answers/uploaded_files/253185/example10.jpeg)
1 个评论
Walter Roberson
2019-12-6
This only works for r2014b or later and when Interpreter is tek or none. It does not work for interpreter latek.
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Migrate GUIDE Apps 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!