4.5 | 4 ratings Rate this file 21 Downloads (last 30 days) File Size: 8.76 KB File ID: #14093 Version: 1.2
image thumbnail

Data cursors for figure window



26 Feb 2007 (Updated )

Data cursor support for multiple axes in a fugure

| Watch this File

File Information

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.

MATLAB release MATLAB 7.3 (R2006b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
29 Dec 2011 Francis

Horizontal cursors would also be extremely useful!

25 May 2011 Malcolm Lidierth

Update posted. This is more flexible. Axes in a GUI should be OK - though I do not use GUIDE so have not checked that.

Comment only
24 May 2011 Mel

Mel (view profile)

Thanks! This is great. Is there any way to implement this inside a GUI?

17 Nov 2010 Stephane

Great ! I That is exactly what I need !

Thanks a lot

07 May 2007 charli chen

very good and useful. However, the cursor will meet some problems when you zoom in/out, or move the figure.

24 May 2011 1.2

Improved functionality

Contact us