フィルターのクリア

How to display UNICODE/IPA characters within GUIs and plots?

7 ビュー (過去 30 日間)
Francesco Sigona
Francesco Sigona 2013 年 11 月 22 日
コメント済み: Walter Roberson 2019 年 12 月 6 日
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

回答 (3 件)

Walter Roberson
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)

Francesco Sigona
Francesco Sigona 2013 年 11 月 22 日
編集済み: Walter Roberson 2013 年 12 月 8 日
I'm afraid that printing characters below 256 not always work. For instance, I tried to install 'SILDoulos IPA' ( http://scripts.sil.org/cms/scripts/page.php?item_id=encore-ipa-download ), then I tried to print 0xF6 char (for instance): unfortunately, the output is not the expected one, i.e., what I can see on the Windows' font management tool. Maybe I'm wrong?
  4 件のコメント
Francesco Sigona
Francesco Sigona 2013 年 12 月 7 日
To everyone reading this: do you managed to use IPA fonts within MATLAB? Please let me know. Thank you in advance.
Walter Roberson
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
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
  1 件のコメント
Walter Roberson
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 ExchangeMigrate GUIDE Apps についてさらに検索

製品

Community Treasure Hunt

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

Start Hunting!

Translated by