How to extract x, y data for particular/selected points from a scatter plot?
22 次查看(过去 30 天)
显示 更早的评论
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 个评论
KSSV
2021-12-25
How you want to select? You want to select manually by clicking on plot? What data you have?
采纳的回答
KSSV
2021-12-25
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
更多回答(1 个)
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Exploration 的更多信息
产品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!