gdist

Get distances between points from mouse clicks on a figure.

Download
Download

You are now following this Submission

Cite As

Chad Greene (2026). gdist (https://au.mathworks.com/matlabcentral/fileexchange/48489-gdist), MATLAB Central File Exchange. Retrieved .

Acknowledgements

Inspired by: gslope, MYGINPUT, ginput2.m v3.1 (Nov 2009), Custom GINPUT

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

fixed automatic naming.

Download
1.3.0

Now supports line colorspec and zooming.

Download
1.2.0

fixed automatic naming.

Download
1.1.0

Now allows user to undo previous click using the backspace key. Also now includes a cumulative path distance option.

Download
1.0.0

Download