Arrow plotter

版本 1.0.0.0 (1.3 KB) 作者: Tectract
very simple customizable inline function to draw arrows.
3.0K 次下载
更新时间 2010/5/4

查看许可证

Very simple customizable inline function to draw arrows. Lightweight and fast for drawing many, many arrows. You customize fill color, linewidth, etc... Tune theta up if you want a wider arrowhead.

takes two [x y] coords and one double, headsize, that allows you to tune the length of the arrowhead to your liking. It's normally set to (length of the line) / 2.5, the headsize variable acts as a multiplier of that (in the numerator).

made this in just a few minutes because the other arrow.m thing is too unwieldy and slow. Enjoy!

引用格式

Tectract (2024). Arrow plotter (https://www.mathworks.com/matlabcentral/fileexchange/27475-arrow-plotter), MATLAB Central File Exchange. 检索时间: .

MATLAB 版本兼容性
创建方式 R2009a
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Labels and Annotations 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0