subplotsCM

版本 1.0.0.0 (2.7 KB) 作者: Andrew Bliss
Creates subplots with less wasted space. Subplot sizes and margins are specified in centimeters.
402.0 次下载
更新时间 2013/4/18

查看许可证

[AX,H]=SUBPLOTSCM(NROWS,NCOLS,FIGWIDTH,FIGHEIGHT,W,E,NS,EW,N,S) where:
NROWS is the number of rows of subplots, NCOLS the number of columns.
FIGWIDTH and FIGHEIGHT are in centimeters. Defaults: 44, 25.5.
W, E, N, and S are the margin widths (in cm) for the west, east, north,
and south sides of the figure. Defaults: 1.4, 0.3, 0.2, 1
NS and EW are the margin widths between subplots. Defaults: 0.05, 0.05.
AX is a handle to the axes created.
H is the figure handle.

If FIGWIDTH or FIGHEIGHT are strings, SUBPLOTSCM will use the string
value as the subplot width or height and calculate the figure height or
width. E.g. if a subplot height of 3 cm is desired, FIGHEIGHT='3'

The functionality overlaps with some other file exchange submissions, but I like my version, and thought others might too.

引用格式

Andrew Bliss (2024). subplotsCM (https://www.mathworks.com/matlabcentral/fileexchange/41370-subplotscm), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2011a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Subplots 的更多信息
标签 添加标签

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0