How to extract x, y data for particular/selected points from a scatter plot?
23 ビュー (過去 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 で Scatter Plots についてさらに検索
製品
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!