How to extract x, y data for particular/selected points from a scatter plot?
조회 수: 13 (최근 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!