How to extract x, y data for particular/selected points from a scatter plot?
13 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
Krishnendu Paul
le 25 Déc 2021
Commenté : Krishnendu Paul
le 25 Déc 2021
In a figure created using scatter plot in matlab, how do select particular points and extract x and y values for the same set of selected points?
regards,
Krishnendu
2 commentaires
KSSV
le 25 Déc 2021
How you want to select? You want to select manually by clicking on plot? What data you have?
Réponse acceptée
KSSV
le 25 Déc 2021
Read about getpts, ginput. These functions will help to pick points.
[x,y] = getpts() ; % double click to exit
[x,y] = ginput(4) ; % you can specify number of points
Plus de réponses (1)
Voir également
Catégories
En savoir plus sur Data Exploration dans Help Center et File Exchange
Produits
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!