version (352 Bytes) by Nagi Hatoum
Draws a Crosshair on a plot, returns X&Y coordinates.


Updated 5 Mar 2003

No License

A functions that draws a crosshair on a plot and returns the X&Y coordinate when the left button is clicked. Right button exits function and returns empty set.State of button press is also returned.

By itself it can be used to get data. But I used with my trendline drawing function

Cite As

Nagi Hatoum (2022). Mouser (, MATLAB Central File Exchange. Retrieved .

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