image thumbnail


version (1.57 KB) by David Groppe
Makes figure elements interactive; clicking on them produces text


Updated 18 Jul 2015

View License

Adds code to a figure object so that when you click on it, a text box appears with specified text displayed inside of it. When you click on the box, it disappears. This is useful for identifying data sources (e.g. the source of outlier data points) when the figure is too complex to label all points at once.

Cite As

David Groppe (2022). clickText (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2009a
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!