Add data tips to polyshape plots?

7 次查看(过去 30 天)
Is it possible to add data tips to polyshape plots? The documentation (https://fr.mathworks.com/help/matlab/ref/matlab.graphics.primitive.polygon-properties.html) says that DataTipTemplate is a property of polygon plots, but I'm not able to access it.
  3 个评论
Lama Itani
Lama Itani 2021-10-12
Hi Emmanuelle,
Do you mind sharing your code? It would be make it much more easier to try and find a solution to your issue.
KSSV
KSSV 2021-10-12
What exactly you want to do?

请先登录,再进行评论。

回答(1 个)

Shivam Singh
Shivam Singh 2021-10-12
“DataTipTemplate” property applies only to polygons with pinned data tips. Datatips can be pinned using datatip function. Here is example for creating Custom Data Tips.
You can further explore Polygon Properties to know more about DataTipTemplate.

类别

Help CenterFile Exchange 中查找有关 Elementary Polygons 的更多信息

产品


版本

R2020b

Community Treasure Hunt

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

Start Hunting!

Translated by