arrow

版本 2.3.0.1 (20.2 KB) 作者: Erik Johnson
Draw a line with an arrowhead.
100.4K 次下载
更新时间 2023/5/3

查看许可证

编者注: This file was selected as MATLAB Central Pick of the Week

Popular File 2012 2013

ARROW (5/02/2023) Draw a line with an arrowhead.
ARROW(Start,Stop) draws a line with an arrow from Start to Stop (points should be vectors of length 2 or 3, or matrices with 2 or 3 columns), and returns the graphics handle of the arrow(s). By itself, ARROW will use the mouse to allow selection.
ARROW DEMO & ARROW DEMO2 show 3-D & 2-D demos of the capabilities of ARROW.
ARROW PROPERTIES shows the properties that can be set (length, base angle, tip angle, width, which ends have arrowheads, etc.)

引用格式

Erik Johnson (2024). arrow (https://www.mathworks.com/matlabcentral/fileexchange/278-arrow), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R2022b
兼容任何版本
平台兼容性
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!
版本 已发布 发行说明
2.3.0.1

Forgot to update the version date.

2.3.0.0

Add ability to use arrow(...,'Parent',axis handle)

2.2.0.0

Change output from handle double to graphics objects. Add identifiers to warning and error messages. Temporarily disable pan/zoom/rotate3d to use click-to-draw mode.

2.1.0.0

Added a 'Color' property (that sets both 'EdgeColor' and 'FaceColor' for arrows drawn with patch objects [the default]) and documentation of how to use it.

2.0.0.0

Updated for HG2 (R2014b and later)

1.2.0.0

actually update the file (not just the description); correct view on demo

1.1.0.0

Replace "eval('trycmd','catchcmd')" with "try, trycmd; catch, catchcmd; end;", which break's compatibility with MATLAB 5 but improves compliance with newer versions.

1.0.0.0