Delta between two data cursor points in plot
15 次查看(过去 30 天)
显示 更早的评论
Is there a way to display the x or y axis delta between 2 data cursor points in a plot?
0 个评论
回答(2 个)
Sean de Wolski
2013-2-19
You can do this in the 'UpdateFcn' of the datacursormode object.
2 个评论
Sean de Wolski
2013-2-19
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
2013-3-27
编辑:Chad Smith
2013-3-27
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:
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Annotations 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!