如何在matlab中使图形标题变小?
来源:网络收集 点击: 时间:2024-05-17【导读】:
从R2014b开始,MATLAB标题使用粗体和稍微大一点的字体,以提高可见性。因此,一些文本可能不适合在图窗口的范围内。例如,此代码创建了一个图形,该图形的标题很长,不适合在图形窗口的范围内工具/原料morematlab软件电脑方法/步骤1/4分步阅读
2/4
3/4
4/4
MATLAB
plot(1:10);
title([This is a title that is too long and does not fit,... within the extents of the figure window.])


plot(1:10);
title([This is a title that is too long and does not fit,... within the extents of the figure window.])
ax = gca;
ax.TitleFontSizeMultiplier = 1;

plot(1:10);
title([This is a title that is too long and does not fit,... within the extents of the figure window.])
ax = gca;
ax.FontSize = 8;

plot(1:10);
title({This is a title that is too long and does not fit,... within the extents of the figure window.})

版权声明:
1、本文系转载,版权归原作者所有,旨在传递信息,不代表看本站的观点和立场。
2、本站仅提供信息发布平台,不承担相关法律责任。
3、若侵犯您的版权或隐私,请联系本站管理员删除。
4、文章链接:http://www.1haoku.cn/art_783456.html
上一篇:小米手机怎么操作才能注销商城服务
下一篇:现在欧曼EST和汕德卡哪个好点