Add data tips to polyshape plots?

조회 수: 5(최근 30일)
Emmanuelle Fried
Emmanuelle Fried 2021년 10월 7일
답변: Shivam Singh 2021년 10월 12일
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
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.

Community Treasure Hunt

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

Start Hunting!

Translated by