Rubberband Line

Draws a rubber band line and returns the x y coordinates of the end points.
4,2K Descargas
Actualizado 26 mar 2002

Sin licencia

[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.

Citar como

Sandra Preaux (2024). Rubberband Line (https://www.mathworks.com/matlabcentral/fileexchange/1552-rubberband-line), MATLAB Central File Exchange. Recuperado .

Compatibilidad con la versión de MATLAB
Se creó con R12
Compatible con cualquier versión
Compatibilidad con las plataformas
Windows macOS Linux
Categorías
Más información sobre Line Plots en Help Center y MATLAB Answers.
Agradecimientos

Inspiración para: Muscle fascicle tracking - Ultrasound

Community Treasure Hunt

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

Start Hunting!
Versión Publicado Notas de la versión
1.0.0.0