xyannotation

creates an annotation object with the x-y coordinates of the data in a specific axes handle

You are now following this Submission

Creates an annotation object according to the data coordinates specified
This also works when the axes aren't in the default position, or are nested within other ui containers such as uipanel

Cite As

TADA (2026). xyannotation (https://www.mathworks.com/matlabcentral/fileexchange/77073-xyannotation), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

function name now reflects its function better, since this is no longer strictly an arrow, the name xyarrow is inappropriate.

1.1.0

Now supports any type of annotation

1.0.0