【Matlab】子图添加子序号 (a) (b) (c) 及调整子图间距边距 科研绘图
生活随笔
收集整理的这篇文章主要介绍了
【Matlab】子图添加子序号 (a) (b) (c) 及调整子图间距边距 科研绘图
小编觉得挺不错的,现在分享给大家,帮大家做个参考.
子图添加序号
1. matlab中subplot子图使用title函数
title('(a)','position',[-4,38],'FontSize',16);2. 使用xlabel函数
3. 使用text函数
Ref: Matlab使用subplot绘制子图时编号(a)(b)©(d)
修改字体
set(gca,'FontName','Times New Roman');子图调整边距
subplot(‘Position’,[left bottom width height])creates an axes at the position specified by a four-element vector. left, bottom, width, and height are in normalized coordinates in the range from 0.0 to 1.
set(gca,'FontName','Times New Roman','Position',[0.55 0.075 0.40 0.40]);Ref: 【Matlab】subplot调整子图间距
Ref: Matlab多个子图Subplot位置排布
总结
以上是生活随笔为你收集整理的【Matlab】子图添加子序号 (a) (b) (c) 及调整子图间距边距 科研绘图的全部内容,希望文章能够帮你解决所遇到的问题。
- 上一篇: 【Matlab】绘制不同颜色线条
- 下一篇: 【控制】滑动模式观测器 sliding