No License
I saw a arrow function by Dr. Erik A. Johnson last night, this function is very useful. But it can only draw 2d arrows, whose heads are patches. So i wrote this functin is used to draw 3D-arrows. the arrows ard made up of cylinders and tapers. The size of arrow head is decided by the minimum distance between start and stop , and you can set the arrow body and arrow head's shape by input arguments. This function will return you the handles of the arrows, so you can set other properties by the handles.
And here provide a very useful [rotatedata] function ,which is modified from rotate function.
If you have any problem, please contact me by email.
Cite As
Changshun Deng (2024). Draw 3D arrows (https://www.mathworks.com/matlabcentral/fileexchange/8396-draw-3d-arrows), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Platform Compatibility
Windows macOS LinuxCategories
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 | Bug fix |