Labeling 3 different points on plot
조회 수: 3 (최근 30일)
이전 댓글 표시
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
2021년 6월 23일
It would help if you provide the code you currently have to generate the initial plot.
답변 (1개)
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...
댓글 수: 0
참고 항목
카테고리
Help Center 및 File Exchange에서 Annotations에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!