Add data tips to polyshape plots?

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 Kommentare

Star Strider
Star Strider am 7 Okt. 2021
Check the documentation for R2020b (and thank you for including that information).
The current online documentation — the documentation linked to — is for R2021b.
.
Lama Itani
Lama Itani am 12 Okt. 2021
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 am 12 Okt. 2021
What exactly you want to do?

Melden Sie sich an, um zu kommentieren.

Antworten (1)

Shivam Singh
Shivam Singh am 12 Okt. 2021

0 Stimmen

“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.

Kategorien

Produkte

Version

R2020b

Gefragt:

am 7 Okt. 2021

Beantwortet:

am 12 Okt. 2021

Community Treasure Hunt

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

Start Hunting!

Translated by