Axes objects tree viewer
AxesTree(ax,'Property','Value',...)
Opens a figure with a tree view of all handle graphic objects in the input
axes. Objects type and tag are displayed.
Objects can be selected from the tree. Double Clicking in the tree deselects all objects. Right-click opens a context menu with following possibilities: 'Visible' toggles selected objects visibility; 'Delete' removes the selected objects; 'Properties' opens the property inspector for selected objects.
Note: The tree automatically updates when objects are parented or removed
from the axes, or when a property is changed. The code uses some
undocumented Matlab features(usage of handle.listener and uitree) of release 2007b. It should work on later
releases as well (depending on the usage of handle.listener())
Cite As
Pirmin Borer (2023). Axes objects tree viewer (https://www.mathworks.com/matlabcentral/fileexchange/29552-axes-objects-tree-viewer), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > Graphics Objects >
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.