image thumbnail

expandAxes(hndls,ro​tEnable)

version 1.7.0.1 (6.59 KB) by Brett Shoelson
Click any axes to expand it in a separate figure. Right-click expanded axes to export contents!

3K Downloads

Updated 01 Sep 2016

View License

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.

Cite As

Brett Shoelson (2021). expandAxes(hndls,rotEnable) (https://www.mathworks.com/matlabcentral/fileexchange/18291-expandaxes-hndls-rotenable), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2007b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!