【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