Editor's Note: This file was selected as MATLAB Central Pick of the Week
ARROW3(P1,P2) draws lines from P1 to P2 with directional arrowheads. P1 and P2 are either nx2 or nx3 matrices. Each row of P1 is an initial point, and each row of P2 is a terminal point.
ARROW3(P1,P2,S,W,H,IP,ALPHA,BETA) can be used to specify properties of the line, initial point marker, and arrowhead. Type "help arrow3" at the command prompt for more information
What's new in Version 5:
All arrowhead and initial point marker sizes (W, H, and IP) are relative to the PlotBox diagonal.
Version 5 attempts to preserve the appearance of existing axes. In particular, ARROW3 will not change XYZLim, View, or CameraViewAngle. ARROW3 does not, however, support stretch-to-fill scaling. If a particular aspect ratio or variable limit is required, use DASPECT, PBASPECT, AXIS, or XYZLIM commands before calling ARROW3. Users are encouraged to report problems directly to the author.
Cite As
Tom Davis (2022). Arrow3 (https://www.mathworks.com/matlabcentral/fileexchange/14056-arrow3), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
Tags
Acknowledgements
Inspired by: Arrow3 version 4.58
Inspired: JuGEx - Julich-Brain Gene Expression, mArrow3.m - easy-to-use 3D arrow, Minimum distance between two SuperEllipsoids., Particle Point Analysis, campodir, SoRoSim
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.