image thumbnail

MeasureClick - measure between two clicks quickly

version (4.41 KB) by Matthew Arthington
Quickly display the distance and gradient between two clicks


Updated 13 Mar 2014

View License

This function creates a button in the current current figure toolbar to enable a quick measurement between two mouse clicks inside the figure.
A dialogue box opens to display the following values:
The absolute difference
The difference in X
The difference in Y
The gradient dX/dY.

Cite As

Matthew Arthington (2021). MeasureClick - measure between two clicks quickly (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2013b
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!