mysubplot: subplots with major title

版本 2.0.0.0 (125.0 KB) 作者: Wei-Ting Lin
Make subplot and add major/big title to the figure
440.0 次下载
更新时间 2016/8/3

查看许可证

Similar to `subplot`, but can add a major title on top. Can change the size of padding between subplots
Syntax: mysubplot( L, W, ID, bigtitle, tightL, tightW)

L, W: the dimension of subplots as in subplot(L,W,ID);
to make larger subplot, make [ID] a vector with IDs of multiple cells.
ID: The location of subplot as in subplot(L,W,ID)
to make mojor title, set ID = 0
bigtitle: string of the major title; be ignored when ID ~= 0. (can put [] as place holder)
tightL, tightW: How tight the subplots packed, on the first and second dimension.
Or the ratio of space between subplots to the size of subplot.
Default : 0.3, 0.3

To make subplot: mysubplot(L, W, ID, [], tightL, tightW)
(use the first 3 arguments like in matlab function subplot.)

To make major title: mysubplot(L, W, 0, bigtitle)
(use the first 2 arguments like in subplot, but set ID = 0.)

To print subplot cell layout: mysubplot(L, W)

See PDF for full documentation.

引用格式

Wei-Ting Lin (2026). mysubplot: subplots with major title (https://ww2.mathworks.cn/matlabcentral/fileexchange/53123-mysubplot-subplots-with-major-title), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2014a
兼容任何版本
平台兼容性
Windows macOS Linux
版本 已发布 发行说明
2.0.0.0

Fix bugs. Add tightL, tightW. Add display layout utility.

1.0.0.0

Add image