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
152 Downloads
Updated 29 May 2015

View License

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 Linux
Categories
Find more on Polar Plots in Help Center and MATLAB Answers

Community Treasure Hunt

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

Start Hunting!
Version Published Release Notes
1.0.0.0