次要情节往往会留下很多空间的坐标轴。Tight_subplot允许调整轴之间的间距以及轴周围的边缘。
例如:
(哈,pos) = tight_subplot (3 2,。01 . 03]、[。1 . 01],[。01 . 01])
2 = 1:6;轴(ha (ii));(二)情节(randn(10日);结束
集(哈(1:4),‘XTickLabel’,”);集(哈,‘YTickLabel’,”)
引用作为
佩Kumpulainen (2022)。tight_subplot (Nh、Nw、gap、marg_h marg_w)(//www.tatmou.com/matlabcentral/fileexchange/27991-tight_subplot-nh-nw-gap-marg_h-marg_w), MATLAB中央文件交换。检索。
MATLAB版本兼容性
创建R2010a
兼容任何释放