expandAxes(hndls,ro​tEnable)

Click any axes to expand it in a separate figure. Right-click expanded axes to export contents!

您现在正在关注此提交

FUNCTION EXPANDAXES(HNDLS)
Allows you to click on any axes (or child thereof) in the list of input handles. Left-clicking will popup a new window in the position of the original, filled with the single axes and all its children. Clicking on that figure closes the popup window. (Right-clicking restores non-expanding status to the axis.)
SYNTAX:
expandAxes
Sets the current axes to expand on buttondown.

expandAxes(hndls)
Sets all axes in the input list of handles to expand on buttondown.
NOTE: This function modifies the BUTTONDOWNFCN of axes in the input list, and their children. However, it will not modify any object whose buttondownfcn is nonempty.

MOTIVATION:
In real estate, there's a saying: "Location, location, location." In computer graphics, the saying is (or ought to be): "Real estate, real estate, real estate." This function allows you to show a lot more plots, graphics, etc. in a single figure without sacrificing the ability to see larger versions of same.

引用格式

Brett Shoelson (2026). expandAxes(hndls,rotEnable) (https://ww2.mathworks.cn/matlabcentral/fileexchange/18291-expandaxes-hndls-rotenable), MATLAB Central File Exchange. 检索时间: .

类别

Help CenterMATLAB Answers 中查找有关 Graphics Object Properties 的更多信息

一般信息

MATLAB 版本兼容性

  • 兼容任何版本

平台兼容性

  • Windows
  • macOS
  • Linux
版本 已发布 发行说明 Action
1.7.0.1

Updated license

1.7.0.0

Fixed a couple very minor bugs. Ensured R14b readiness. General cleanup.
Bug fix: should work in old and new versions of MATLAB. (If you have a version of expandAxes that is working for you, no need to change. But if you're encountering errors, this should address them.)

1.5.0.0

Right click on any expanded axes to automatically save contents to base workspace!

1.4.0.0

Now supports automatic export of images by right-clicking an expanded axes! (If the axes contains a non-image, a snapshot of the axes is exported, using |getframe|.)

1.3.0.0

Updated M file and license text file copyright to The MathWorks, Inc.

1.2.0.0

updated license text file to The MathWorks, Inc.

1.1.0.0

added copyright

1.0.0.0