首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >uimenu标签中的希腊文字母

uimenu标签中的希腊文字母
EN

Stack Overflow用户
提问于 2017-03-02 22:35:39
回答 1查看 194关注 0票数 2

我正在尝试有一个uimenu,它的'Label'包含并显示罗马和希腊字母。

我试过了:

代码语言:javascript
复制
uimenu(h,'Label','test with σ')                   % displays 'test with ?'
uimenu(h,'Label','test with \sigma')              % displays 'test with \sigma'
uimenu(h,'Label',['test with' char(963)])         % displays 'test with'
uimenu(h,'Label','<html>test with σ</html>')      % displays 'test with ?'
uimenu(h,'Label','<html>test with \sigma</html>') % displays 'test with \sigma'
uimenu(h,'Label','<html>test with &#0963</html>') % displays 'test with ?', but it works
%                                                   with other uicontrols like popupmenus
uimenu(h,'Label','<html>test with <font face="Symbol">s</font></html>') 
% ^ displays 'test with s', s being with a different font, but not the Symbol one

你知道如何实现这一点吗?我上R2014a了。

请注意,"µ“(在我的键盘上可用,我只是用它来输入这个字符)可以工作,但"μ”(就像在Unicode03BC中,我只用它来输入这个字符)有效。

EN

回答 1

Stack Overflow用户

发布于 2017-03-04 11:22:22

这个可以在R2015b中使用

代码语言:javascript
复制
uimenu(h,'Label',['test with ', char(963)])
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/42558245

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档