Replace the datapoints of a scatter plot with labels or text from a vector of strings
9 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I want to replace the data symbols in a X - Y scatter plot with site names and/or numbers from a third corresponding vector of site names (as a string array) so I can see from which site each X - Y data point came from. Can this be done?
0 comentarios
Respuestas (1)
Walter Roberson
el 10 de Jun. de 2011
A scatter plot is not much more than a bunch of patches. Take away the part being drawn by the patch and you have nothing usable left.
If you want to put a name at a particular position, text() it in to place.
0 comentarios
Ver también
Categorías
Más información sobre Scatter Plots en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!