Error displaying custom Data Tips
9 次查看(过去 30 天)
显示 更早的评论
I've created a callback to displaying Data Tips on a pointcloud (pcshow) after the space bar is pressed. The flow is:
- Press on the space bar
- click on a point
- custom data tips appear
At first, the DataTip shows an error message, but if I click on the data tip or in general over the figure, the correct data tip appears and the error message does not show again. How can I avoid the appearence of that message? Where should I look for the problem?
Error message: unable to update data tip using custom update function.
Thank you.
3 个评论
Asvin Kumar
2021-3-22
Hey, this is going to be hard to debug. I'm out of bandwidth at the moment and won't be able to look into it immediately.
A few suggestions to make it easier for others in the community:
- Provide a way to reproduce the behaviour. Maybe provide some code which people can quickly execute and start tinkering with.
- Or, if possible, come up with a short demo of your problem by just using scatter plot like in this example.
- Provide more details on waitforbuttonpress() because it seems like you've added that to work around your problem. What does it do? Does it work?
回答(0 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Interactive Control and Callbacks 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!