num2str font size
3 次查看(过去 30 天)
显示 更早的评论
采纳的回答
更多回答(1 个)
José-Luis
2017-1-3
编辑:José-Luis
2017-1-3
num2str() has nothing to do with the font size. It just does what its name implies. Once you have got your string, here is a way of setting its size:
axes;
text(0.5, 0.5,'\fontsize{24}{0}\selectfont{I am big}\fontsize{8}{0}\selectfont{I am small}','Interpreter','Latex');
0 个评论
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Startup and Shutdown 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!