Labeling 3 different points on plot

2 visualizaciones (últimos 30 días)
bulent berk ikizoglu
bulent berk ikizoglu el 23 de Jun. de 2021
Respondida: dpb el 23 de Jun. de 2021
I have plotted data, other than that I want to add 3 different points label and name them in the same figure.
  1 comentario
Scott MacKenzie
Scott MacKenzie el 23 de Jun. de 2021
It would help if you provide the code you currently have to generate the initial plot.

Iniciar sesión para comentar.

Respuestas (1)

dpb
dpb el 23 de Jun. de 2021
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...

Categorías

Más información sobre Annotations en Help Center y File Exchange.

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by