Labeling 3 different points on plot

2 次查看(过去 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
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