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
Nagi Hatoum (2022). Mouser (https://www.mathworks.com/matlabcentral/fileexchange/3068-mouser), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform CompatibilityWindows macOS Linux
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!