arrow

Draw a line with an arrowhead.

Download
Download

You are now following this Submission

Editor's Note: This file was selected as MATLAB Central Pick of the Week

Popular File 2012 2013

Cite As

Erik Johnson (2026). arrow (https://www.mathworks.com/matlabcentral/fileexchange/278-arrow), MATLAB Central File Exchange. Retrieved .

Tags

Add Tags

Add the first tag.

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
2.3.0

Forgot to update the version date.

Download
2.3.0-0

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

Download
2.2.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.

Download
2.1.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.

Download
2.0.0

Updated for HG2 (R2014b and later)

Download
1.2.0

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

Download
1.1.0

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

Download
1.0.0

Download