Error displaying custom Data Tips
13 views (last 30 days)
Show older comments
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.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/552602/image.png)
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/552607/image.png)
3 Comments
Asvin Kumar
on 22 Mar 2021
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?
Answers (0)
See Also
Categories
Find more on Interactive Control and Callbacks in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!