Add data tips to polyshape plots?

6 views (last 30 days)
Emmanuelle Fried
Emmanuelle Fried on 7 Oct 2021
Answered: Shivam Singh on 12 Oct 2021
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 Comments
Lama Itani
Lama Itani on 12 Oct 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 on 12 Oct 2021
What exactly you want to do?

Sign in to comment.

Answers (1)

Shivam Singh
Shivam Singh on 12 Oct 2021
“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.

Categories

Find more on Elementary Polygons in Help Center and File Exchange

Products


Release

R2020b

Community Treasure Hunt

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

Start Hunting!