Axes objects tree viewer

Shows objects contained within axes as a tree and lets you manipulate them interactively.

You are now following this Submission

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 (2026). Axes objects tree viewer (https://se.mathworks.com/matlabcentral/fileexchange/29552-axes-objects-tree-viewer), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Graphics Objects in Help Center and MATLAB Answers

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.1.0.0

handles of Objects that are added to the axes are now converted to double before adding to the tree. (Preventing that they are wrapped with a BeanAdapter). Fixed also some errors.

1.0.0.0