Add labels to multiple points in scatterplot

5 views (last 30 days)
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!

Answers (1)

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

Products


Release

R2021b

Community Treasure Hunt

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

Start Hunting!