Code covered by the BSD License  

Highlights from
Arrowhead

4.875

4.9 | 8 ratings Rate this file 25 Downloads (last 30 days) File Size: 4.4 KB File ID: #4538
image thumbnail

Arrowhead

by Florian Knorn

 

25 Feb 2004 (Updated 23 Jun 2008)

arrowh draws a solid 2D arrow head into the current plot.

| Watch this File

File Information
Description

This little program allows you to draw a solid arrow head (a triangle) into the current plot to indicate a direction on a line.

I wrote this little program mainely for use in phase plane plots (screenshot), when you want to indicate what direction a trajectory is run throught.

The m-file contains a detailed help.

Acknowledgements
This submission has inspired the following:
MIMO Toolbox, SimplePendulum, SpringPendulum
MATLAB release MATLAB 7 (R14)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (9)
08 Mar 2004 Micheal Heard

nice little prog, was always looking for one doing just that.

does what it says.

08 Mar 2004 Micheal Heard

nice little prog, was always looking for one doing just that.

does what it says.

09 Mar 2004 benyuan liu

nice!

15 Apr 2004 frank behrends

good work !

15 Aug 2005 Mircea Hossu

Matlab should include this useful function. Thanks!

08 Feb 2008 D G

Great and useful. Nice work.

02 Sep 2008 yehua wei

it is useful

07 Apr 2010 cuh2o ?  
15 Jul 2011 Tom

cool beans!

Please login to add a comment or rating.
Updates
01 Mar 2004

minors changements in the file-description and the comments of the prog;
functionality untouched

28 Oct 2004

added the possibility to have several arrowheads drawn at once by giving a *vector* with the wanted locations for the LOCATION paramater

31 Mar 2005

i forgot to remove a silly debugging line which kept the size-argument from being taken into account...
thanks to Jeroen Hogema who mailed me about this issue

01 Dec 2005

Fix a bug pointed out by Kesh Ikum

05 May 2006

Added functionality to change the width of the arrowhead, and fixed some mlint suggestions

19 May 2006

update:

1.13 - Allow for non-solid arrow heads
1.12 - Return handle(s) of created patches

23 Jun 2008

added feature

Tag Activity for this File
Tag Applied By Date/Time
annotation Florian Knorn 22 Oct 2008 07:15:04
customization Florian Knorn 22 Oct 2008 07:15:04
head Florian Knorn 22 Oct 2008 07:15:05
arrow Florian Knorn 22 Oct 2008 07:15:05
plot Florian Knorn 22 Oct 2008 07:15:05
direction Florian Knorn 22 Oct 2008 07:15:05
indicate Florian Knorn 22 Oct 2008 07:15:05
line Florian Knorn 22 Oct 2008 07:15:05
head Gareth 12 May 2009 21:13:11
annotation Gurudevan 15 Mar 2010 00:36:33
arrow Robert 31 Mar 2011 12:17:28

Contact us at files@mathworks.com