Delta between two data cursor points in plot
21 views (last 30 days)
Show older comments
Is there a way to display the x or y axis delta between 2 data cursor points in a plot?
0 Comments
Answers (2)
Sean de Wolski
on 19 Feb 2013
You can do this in the 'UpdateFcn' of the datacursormode object.
2 Comments
Sean de Wolski
on 19 Feb 2013
If I get some time later this afternoon. I have a full plate right now.
doc datacursormode
Look at the examples, they should get you started.
Chad Smith
on 27 Mar 2013
Edited: Chad Smith
on 27 Mar 2013
Yes there is, and using the cursor's 'UpdateFcn' is the way to do it.
This page is explicit in how to accomplish this and has an example:
See Also
Categories
Find more on Visual Exploration in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!