Matlab Plot - Font Zapf Dingbats Will Not Render

a 夏天 提交于 2019-12-01 22:13:01

You may use the 'Wingdings' font for that. The following code

text(0.5, 0.5, char(81), 'fontname', 'Wingdings', 'fontsize',50);

gives

The 'ZapfDingbats' font may not be in the /Library/Font folder (but 'Wingdings' is), even if listfonts tells you that the font is there. Actually, the listfonts function adds some extra fonts to the list of the available fonts, and I don't get the rational of that.

% always add postscipt fonts to the system fonts list.
systemfonts = [fonts;
    {
    'AvantGarde';
    'Bookman';
    'Courier';
    'Helvetica';
    'Helvetica-Narrow';
    'NewCenturySchoolBook';
    'Palatino';
    'Symbol';
    'Times';
    'ZapfChancery';
    'ZapfDingbats';
    }];
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!