lasso.m

Enables the selection/encircling of (clusters of) events in a scatter plot by hand.

Sie verfolgen jetzt diese Einreichung

Anmerkung des Herausgebers: This file was selected as MATLAB Central Pick of the Week

[selx,sely,indexnr]=lasso(x,y);

Input: x,y - a set of points in 2 column vectors.
Output: selx,sely,indexnr - a set of selected points in 3 column vectors

Note: After the scatter plot is given, selection by mouse is started after any key press. This is done to be able to ZOOM or CHANGE AXES etc. in the representation before selection by mouse. Encircling is done by pressing subsequently the LEFT button mouse at the requested positions in a scatter plot. Closing the loop is done by a RIGHT button press.

Zitieren als

Thomas Rutten (2026). lasso.m (https://de.mathworks.com/matlabcentral/fileexchange/3991-lasso-m), MATLAB Central File Exchange. Abgerufen .

Kategorien

Mehr zu Discrete Data Plots finden Sie in Help Center und MATLAB Answers

Allgemeine Informationen

Kompatibilität der MATLAB-Version

  • Kompatibel mit allen Versionen

Plattform-Kompatibilität

  • Windows
  • macOS
  • Linux
Version Veröffentlicht Versionshinweise Action
1.0.0.0

On request, a third output column representing the index number (position in [x,y]) of selected events, is added.