getDataTips - Get data tip text and handles

Extract data tip text and handles.

You are now following this Submission

getDataTips() - prints content of all existing data tips in the current figure to the command window.

getDataTips(h) - specify an array of figure or axis handles.

content = getDataTips(__) - stores content of data tips to a cell array.

[content, dtHandles] = getDataTips(__) - also stores handles to data tips.

getDataTip_examples.mlx - demo file showing syntax options for getDataTips().

Supported in r2014b and later.
Tested in r2015b and r2020b.

Cite As

Adam Danz (2026). getDataTips - Get data tip text and handles (https://www.mathworks.com/matlabcentral/fileexchange/82038-getdatatips-get-data-tip-text-and-handles), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with R2014b and later releases

Platform Compatibility

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

Added hyperlinks to documentation, license file, and thumbnail.

1.0.0