Scatter datatips won’t display with callback

I plotted a scatterplot and added datatips. This worked successfully. Then I added a callback function to the scatterplot using the ‘ButtonDownFcn’ property and now my datatips won’t display. Is there some property I need to set so these 2 things work together?

回答(1 个)

You can enable datatip using a couple of commands: see DOC1
Also, you can make it interactive: see DOC2

2 个评论

I tried these methods and they don’t work when you have a Callback function for the scatterplot.

请先登录,再进行评论。

类别

帮助中心File Exchange 中查找有关 Scatter Plots 的更多信息

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by