Controllable tight subplot

バージョン 1.3.0.0 (486 KB) 作成者: Nikolay S.
Subplot wrapper, allowing better figure utilization, by tighter axes.
ダウンロード: 14K
更新 2016/7/31

ライセンスの表示

Allows fully utilizing the figure surface by defining margins, by wrapping the existing subplot function. Unfortunately the original subplots function spends lavishly the figure area , without allowing the user to control it in a convenient manner. In addition to subplot functionality (fully supported) the user can define margins, which result in larger axis presented in the figure. Default margins are 1% of figure area.
Thanks goes to a colleague- Adi N., who both urged me to write this function down, and assisted in writing it.
Hope you will find this one useful.
Update:
Some subplot functionality s now supported. However, I must mention this looks quiet buggy to me. Check this out:
figure;
subplot(1,2,1);
plot(rand(1,20));
subplot(1,2,1,'Position',[0.1,0.1,0.3,0.3]); % 'Position' is ignored!!!

引用

Nikolay S. (2024). Controllable tight subplot (https://www.mathworks.com/matlabcentral/fileexchange/30884-controllable-tight-subplot), MATLAB Central File Exchange. 取得済み .

MATLAB リリースの互換性
作成: R2009a
すべてのリリースと互換性あり
プラットフォームの互換性
Windows macOS Linux
カテゴリ
Help Center および MATLAB AnswersSubplots についてさらに検索
謝辞

ヒントを与えたファイル: smplot for small multiples, subtightplot, Plot Superquadratic Surfaces

Community Treasure Hunt

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

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

Updated demo code, using Varoujan good advice.

1.2.0.0

A bit shorter implementation, now supporting functionality Allan has requested.

1.1.0.0

.png replaced by .jpg's, to reduce file size, screen-shot modified.

1.0.0.0