spidentify

バージョン 1.0.1 (3.06 KB) 作成者: Marc Jakobi
Indentifies subplots in figure h
ダウンロード: 30
更新 2019/11/13

ライセンスの表示

spidentify: Indentifies subplots in figure h. Some figures contain axes
that are superimpozed (e. g. plotyy), so that more axes objects than
subplots can be present. With this function, superimpozed axes objects can
be identiffied and returned in the struct "subs", divided into their
respected subplots.
Syntax: subs = spidentify(h);
[subs, numsub] = spidentify(h);

Input arguments:

h: Figure handle, e. g. h = gcf;

Output arguments:

subs: Struct with the identified subplots as fields. Each field is a
1xN axes object that corresponds with the respective subplot.

subs(i) i = index of the subplot
subs(i).AX 1xN axes Handle of the subplot i containing all
superimpozed axes
subs(i).nc Number of colorbars contained in subplot i
numsub: Number of subplots in the figure
nHor: Number of subplots in horizontal direction
nVer: Number of subplots in vertical direction

Author: Marc Jakobi, 06/17/2016

引用

Marc Jakobi (2024). spidentify (https://www.mathworks.com/matlabcentral/fileexchange/59489-spidentify), MATLAB Central File Exchange. に取得済み.

MATLAB リリースの互換性
作成: R2016b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
バージョン 公開済み リリース ノート
1.0.1

Brought function in line with expandaxes version.

1.0.0.0