Insert annotation in figure's metadata

Make annotations that are not displayed on the figure area.

You are now following this Submission

Sometimes you need to make a comment to a figure for later reference but don't want to show it on the plotting area.

These functions allow you to write and extract comments to/from the figure's UserData which is not displayed.

This way the figure's .fig file becomes a self-contained document containing the data, annotations and visualizations.

Cite As

Germán (2026). Insert annotation in figure's metadata (https://www.mathworks.com/matlabcentral/fileexchange/43179-insert-annotation-in-figure-s-metadata), MATLAB Central File Exchange. Retrieved .

Categories

Find more on Creating, Deleting, and Querying 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.0.0.0