Data cursors for figure window

Data cursor support for multiple axes in a fugure

You are now following this Submission

Several related functions:

CreateCursor sets up a vertical cursor on all axes in a figure. The cursors can be moved around using the mouse.
Multiple cursors are supported in each figure

GetCursorLocation returns the location of a cursor while SetCursorLocation sets it.

DeleteCursor removes a cursor.

Objects belonging to each cursor have their handles stored in the figure application data area. Callbacks for each object serve to link their position on the axes.

Cite As

Malcolm Lidierth (2026). Data cursors for figure window (https://www.mathworks.com/matlabcentral/fileexchange/14093-data-cursors-for-figure-window), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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

Improved functionality

1.0.0.0

Minor improvements