Applying labels to specific data points
Mostrar comentarios más antiguos
I have a scatter plot of x = [0 1 2] and y = [8 7 6] with corresponding labels in N = ['A', 'B', 'C']. I know how to add labels to all the data points using the text() or labelpoints() functions but I was wondering if there was a way to apply labels to certain data points only, e.g. (1,7) and (2,6)?
2 comentarios
Greg
el 15 de En. de 2018
Share the (relevant) code you currently have so we know what to work with.
Also, what is labelpoints? If you're using non-bundled functions, it helps to say so.
Respuesta aceptada
Más respuestas (0)
Categorías
Más información sobre Annotations en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!