Replace the datapoints of a scatter plot with labels or text from a vector of strings
9 views (last 30 days)
Show older comments
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 Comments
Answers (1)
Walter Roberson
on 10 Jun 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 Comments
See Also
Categories
Find more on Scatter Plots in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!