當(dāng)前位置:
首頁(yè) >
【Matlab】子图添加子序号 (a) (b) (c) 及调整子图间距边距 科研绘图
發(fā)布時(shí)間:2025/4/5
61
豆豆
生活随笔
收集整理的這篇文章主要介紹了
【Matlab】子图添加子序号 (a) (b) (c) 及调整子图间距边距 科研绘图
小編覺得挺不錯(cuò)的,現(xiàn)在分享給大家,幫大家做個(gè)參考.
子圖添加序號(hào)
1. matlab中subplot子圖使用title函數(shù)
title('(a)','position',[-4,38],'FontSize',16);2. 使用xlabel函數(shù)
3. 使用text函數(shù)
Ref: Matlab使用subplot繪制子圖時(shí)編號(hào)(a)(b)?(d)
修改字體
set(gca,'FontName','Times New Roman');子圖調(diào)整邊距
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調(diào)整子圖間距
Ref: Matlab多個(gè)子圖Subplot位置排布
總結(jié)
以上是生活随笔為你收集整理的【Matlab】子图添加子序号 (a) (b) (c) 及调整子图间距边距 科研绘图的全部?jī)?nèi)容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 【Matlab】绘制不同颜色线条
- 下一篇: 【控制】滑动模式观测器 sliding