Labeling 3 different points on plot

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 日

0 投票

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...

カテゴリ

製品

リリース

R2021a

質問済み:

2021 年 6 月 23 日

回答済み:

dpb
2021 年 6 月 23 日

Community Treasure Hunt

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

Start Hunting!

Translated by