OuterPosition: 最外层[left bottom width height]
Position: axes的位置[left bottom width height]
TightInset: 图的位置(包括title, labels, margin)到axes的位置[left bottom right top]
LooseInset: 最外层到axes的位置[left bottom right top]

所以缩小margin可以用h.OuterPosition=[0,0,0.5,1]; h.LooseInset=h.TightInset;.
ref:
Control Axes Layout
Axes LooseInset property
MATLAB plot相关
最新推荐文章于 2025-03-12 11:39:02 发布
本文详细介绍了如何在Matplotlib中调整图形布局,包括最外层、axes、TightInset和LooseInset的位置设置,以及如何通过修改这些参数来优化图表的margin大小。
1864

被折叠的 条评论
为什么被折叠?



