sel_and_del Interactively select and delete points from a 2D plot with the mouse

버전 1.0.0.0 (5.17 KB) 작성자: José-Luis
Left click selects a point and right click unselects it.
다운로드 수: 1.5K
업데이트 날짜: 2009/8/27

라이선스 보기

sel_and_del Interactively select and delete points from a line object using mouse input. Left-click selects the point closest to the click and Right-click unselects it. The selected points are highlighted with a black square. The selection process is stopped by hitting any keyboard key when the mouse is over the figure.
Repeated xy pairs will be deleted by the program.

[del_points new_dataset] = sel_and_del
Obtains a line object xy data from the
current figure and axes and proceeds to the interactive selection of the points to delete. Only one line object per axes is supported.

[del_points new_dataset] = sel_and_del(obj_handle)
Obtains x and y data from the specified object and proceeds to the interactive selection of the points to delete. The object can be either a line or a scatter group.

[del_points new_dataset] = sel_and_del(x,y)
x and y data are given as an input and a figure is automatically generated. Interactive selection follows. xy data is by default plotted as a red circle.

If you add the string 'yes' as an extra input argument (i.e.
sel_and_del('yes'), sel_and_del(obj_handle,'yes') or sel_and_del(x,y,'yes') the function also generates an additional figure where the new dataset (after deletion) is plotted after every button click.

The function was developed to aid in the manual deletion of outliers for quality control.

인용 양식

José-Luis (2024). sel_and_del Interactively select and delete points from a 2D plot with the mouse (https://www.mathworks.com/matlabcentral/fileexchange/25153-sel_and_del-interactively-select-and-delete-points-from-a-2d-plot-with-the-mouse), MATLAB Central File Exchange. 검색됨 .

MATLAB 릴리스 호환 정보
개발 환경: R2007b
모든 릴리스와 호환
플랫폼 호환성
Windows macOS Linux
카테고리
Help CenterMATLAB Answers에서 Migrate GUIDE Apps에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
버전 게시됨 릴리스 정보
1.0.0.0