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

5 次查看(过去 30 天)
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!

回答(1 个)

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

类别

Help CenterFile Exchange 中查找有关 Graphics Objects 的更多信息

产品


版本

R2019b

Community Treasure Hunt

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

Start Hunting!

Translated by