Rubberband Line

Draws a rubber band line and returns the x y coordinates of the end points.
4,3K download
Aggiornato 26 mar 2002

Nessuna licenza

[p1,p2]=rbline(varargin)

Function to draw a rubberband line and return the start and end points. Usage: [p1,p2]=rbline; or [p1,p2]=rbline(h); where h is an axis handle. Click the mouse in the plot to define the start point. A rubberband line is drawn between the start point and the current point until the mouse is clicked again. The start point, p1, and the end point, p2, are returned. The figure UserData is not available while this function is running but is restored after it ends.

Cita come

Sandra Preaux (2025). Rubberband Line (https://it.mathworks.com/matlabcentral/fileexchange/1552-rubberband-line), MATLAB Central File Exchange. Recuperato .

Compatibilità della release di MATLAB
Creato con R12
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS Linux
Categorie
Scopri di più su Line Plots in Help Center e MATLAB Answers
Riconoscimenti

Ispirato: Muscle fascicle tracking - Ultrasound

Community Treasure Hunt

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

Start Hunting!
Versione Pubblicato Note della release
1.0.0.0