tight-凯发k8网页登录

tight_subplot(nh, nw, gap, marg_h, marg_w)

版本 1.1.0.0 (2.0 kb) 作者:
fills the figure with axes subplots with easily adjustable margins and gaps between the axes.

48.3k 次下载

更新时间 2016/3/3

查看许可证

编者注: popular file

this file was selected as matlab central

subplot tends to leave a lot of empty space around the axes. tight_subplot allows to adjust the spacing between the axes as well as the margins around the axes.
for example:
[ha, pos] = tight_subplot(3,2,[.01 .03],[.1 .01],[.01 .01])
for ii = 1:6; axes(ha(ii)); plot(randn(10,ii)); end
set(ha(1:4),'xticklabel',''); set(ha,'yticklabel','')

引用格式

pekka kumpulainen (2023). tight_subplot(nh, nw, gap, marg_h, marg_w) (https://www.mathworks.com/matlabcentral/fileexchange/27991-tight_subplot-nh-nw-gap-marg_h-marg_w), matlab central file exchange. 检索来源 .

matlab 版本兼容性
创建方式 r2010a
兼容任何版本
平台兼容性
windows macos linux
类别
  • > > > > > >
在 和 中查找有关 subplots 的更多信息
标签
致谢

启发作品: , , , , ,

community treasure hunt

find the treasures in matlab central and discover how the community can help you!

start hunting!
版本 已发布 发行说明
1.1.0.0

positions of the created axes objects are returned. allowing to reset the positions after some standard functions, which reposition existing axxes (eg. colorbar)

1.0.0.0
网站地图