draw_arrow(p1,p2, f)
Version 1.0.0.0 (853 Bytes) by
Marco Ammann
Allows to draw an arrow in-between 2 points in a 2D plot
This function allows the user to draw an arrow from point 1 to point 2.
The size of the arrow is controlled by the variable f which is a percentage of an initial value.
You can very easily modify this code to change the thickness of the line between point 1 and 2
or the color of the line and arrow.
Cite As
Marco Ammann (2024). draw_arrow(p1,p2, f) (https://www.mathworks.com/matlabcentral/fileexchange/51017-draw_arrow-p1-p2-f), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2012b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots > Polar Plots >
Find more on Polar Plots in Help Center and MATLAB Answers
Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
Version | Published | Release Notes | |
---|---|---|---|
1.0.0.0 |