Add labels to multiple points in scatterplot

5 visualizzazioni (ultimi 30 giorni)
Nuria Andreu
Nuria Andreu il 4 Nov 2022
Risposto: Simon Chan il 4 Nov 2022
Hi!
I have a scatterplot that contains multiple points with its personal ID number. I need help to include a small text to specify the season each sample was taken (may, july, and december). I want each text box to be right next to its specific ID value everytime I run the code.
Including a simple text box is not an option because I am using multiple data points.
Attached is a screenshot of my plot, code, and xls file I am using.
Thank you in advance!

Risposte (1)

Simon Chan
Simon Chan il 4 Nov 2022
Read about datatip.

Prodotti


Release

R2021b

Community Treasure Hunt

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

Start Hunting!

Translated by