allowaxestogrow

バージョン 1.7.0.0 (3.42 KB) 作成者: Matt Caywood
With one click, zoom axes for better visibility.
ダウンロード: 3.2K
更新 2009/5/15

ライセンスの表示

編集メモ: This file was selected as MATLAB Central Pick of the Week

What if you have a number of tiny subplots or images in a figure window and would like to be able to visually inspect them?

Call allowaxestogrow(f) on a figure f with any number of sub-axes.

Then, whenever one of the plots or images is clicked, it immediately grows to the size of the full window (or a pre-set size).

When clicked again, it returns to its original position.

引用

Matt Caywood (2024). allowaxestogrow (https://www.mathworks.com/matlabcentral/fileexchange/7867-allowaxestogrow), MATLAB Central File Exchange. 取得済み .

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

Community Treasure Hunt

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

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

Increased compatibility with others' graphics scripts by using appdata, single button-down function.

1.6.0.0

Work around Matlab bug in which figure plots are created in.

1.5.0.0

Try to preserve plot order better; Preserve plot aspect ratio. (Version 0.31)

1.4.0.0

Allows user to set predefined size for zoomed plot; colorbars finally work well.
Much simplified by using invisible patches to trap clicks. Now requires Matlab's OpenGL renderer which may cause side effects on some older systems.

1.0.0.0

Work around reported bug when axis type is a cell array.

T W, I can't figure out how to reproduce this bug. Please contact me by email if you have a test case I can use.

Also, add click support to patches.