create custom mouseover callback?
显示 更早的评论
I have a method to execute a custom callback function upon mouseover of scatter3 plotted points. Essentially, the function prints text in a text edit field of my app. This method relies on setting the UpdateFcn of the datacursormode for the entire figure. Now I would like to have two different axes in my figure, so that method won't work anymore. How can I create a custom callback for a mouseover interaction?
1 个评论
Rik
2022-4-6
You could use the window button motion, but you would have to make sure to put a fast check at the start of it to keep the performance reasonable. That way you can determine which axes the cursor is hovering over.
采纳的回答
更多回答(0 个)
类别
在 帮助中心 和 File Exchange 中查找有关 App Building 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!