Subplot Handle

バージョン 1.0.0.0 (748 Bytes) 作成者: GerdaHotlich
Initialisation of subplot function that only requires row and col or index in the following
ダウンロード: 201
更新 2014/4/10

ライセンスの表示

Creating large subplots with changing organization can be tedious and erronious.
With this simple handle you can manage your subplots easily. Moreover, you can come back easily to your figure without managing the figure handle.

Usage:
- h = SUBPLOT_HANDLE( 2,3 ) generates subplot handle for 2 rows and 3 cols
- h(1,2) will then generate a subplot in row 1 and col 2 of this figure (even if you use a different figure in the meanwhile)
- h(1) will create a subplot with original indexing in row 1 col 1, and iterates thence through all further subplots

Example:
h = subplot_handle( 2,1 );
h(1); % similar to h(1,1)
fplot( @(x) sin(x), [-pi pi] );
h(2); % similar to h(2,1)
fplot( @(x) cos(x), [-pi pi] );

引用

GerdaHotlich (2026). Subplot Handle (https://jp.mathworks.com/matlabcentral/fileexchange/46187-subplot-handle), MATLAB Central File Exchange. 取得日: .

MATLAB リリースの互換性
作成: R2013b
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersGraphics Objects についてさらに検索
タグ タグを追加
バージョン 公開済み リリース ノート
1.0.0.0