Produces an axis crosshair, allows user to click a point.


Updated 21 Nov 2005

No License

This function produces a crosshair on the axis selected. One can click to select an X, Y coordinate. This function can set up crosshairs on multiple axis across multiple figures. It can be modified to be used as a ganged cursor for two axes.

Cite As

Andrew Hastings (2023). cursor (, MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R12.1
Compatible with any release
Platform Compatibility
Windows macOS Linux
Find more on Polar Plots in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes