Labeling 3 different points on plot

조회 수: 3 (최근 30일)
bulent berk ikizoglu
bulent berk ikizoglu 2021년 6월 23일
답변: dpb 2021년 6월 23일
I have plotted data, other than that I want to add 3 different points label and name them in the same figure.
  댓글 수: 1
Scott MacKenzie
Scott MacKenzie 2021년 6월 23일
It would help if you provide the code you currently have to generate the initial plot.

댓글을 달려면 로그인하십시오.

답변 (1개)

dpb
dpb 2021년 6월 23일
text(1:3,rand(1,3)*10,{'A','B','C'})
xlim([0 5]),ylim([0 10])
produced
All you need do is define what x,y pairs and label you want...

카테고리

Help CenterFile Exchange에서 Annotations에 대해 자세히 알아보기

제품


릴리스

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by