Marking highlighted data points with text on a scatter plot
3 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
After highlighting data points on a scatter plot, how do I apply the text function to include the x values over the points?
scatter(range,ratsmask,'fill','red')
range is the domain of values, and ratsmask is a logical mask identifying which of those values meets a specific condition. The plot is done, but how do I display the x index as text above the point.
text(range,ratsmask,'????')
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/171963/image.png)
Any help is appreciated!
0 Kommentare
Antworten (1)
Siehe auch
Kategorien
Mehr zu Annotations finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!