how to add datatip to a line object inside an UIAxes?

3 views (last 30 days)
Hi,
I am trying to show datatips when clicked for some simple lines inside an UIaxes. However this warning occurs even when I move my mouse over the axes:
Warning: Error occurred while executing the listener callback for event MouseMove defined for class
matlab.graphics.interaction.graphicscontrol.InteractionObjects.DataTipInteraction:
Error using hgconvertunits
The reference object is invalid.
Thanks!

Answers (1)

Jalaj Gambhir
Jalaj Gambhir on 28 Feb 2020
Hi,
This issue occurs when we try to plot mixed datatypes in UIAxes in R2019a, but it has been fixed in later versions.

Categories

Find more on Graphics Object Programming in Help Center and File Exchange

Products


Release

R2019b

Community Treasure Hunt

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

Start Hunting!