You are now following this Submission
- You will see updates in your followed content feed
- You may receive emails, depending on your communication preferences
[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.
Cite As
Sandra Preaux (2026). Rubberband Line (https://www.mathworks.com/matlabcentral/fileexchange/1552-rubberband-line), MATLAB Central File Exchange. Retrieved .
Acknowledgements
Inspired: Muscle fascicle tracking - Ultrasound
General Information
- Version 1.0.0.0 (630 Bytes)
-
No License
MATLAB Release Compatibility
- Compatible with any release
Platform Compatibility
- Windows
- macOS
- Linux
| Version | Published | Release Notes | Action |
|---|---|---|---|
| 1.0.0.0 |
