Code covered by the BSD License  

Highlights from
Adjust "quiver" arrowhead size

5.0 | 13 ratings Rate this file 103 Downloads (last 30 days) File Size: 2.08 KB File ID: #34305 Version: 1.0

Adjust "quiver" arrowhead size



Lets user easily tweak vectors plotted by "quiver", making arrowheads bigger or smaller.

| Watch this File

File Information

So you've plotted data using "quiver" but would like to make the arrowheads bigger or smaller. It's easy:

N = 100;
h = quiver(1:N, 1:N, randn(N), randn(N));
adjust_quiver_arrowhead_size(h, 1.5);

Required Products MATLAB
MATLAB release MATLAB 7.13 (R2011b)
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (15)
18 Sep 2015 Al

Al (view profile)

25 Aug 2015 Grant

Grant (view profile)

From Matlab 2015a, the arrowhead size can be adjusted by setting the MaxHeadSize property.
E.g. handle = quiver(...); handle.MaxHeadSize = 1

Comment only
22 May 2015 Kevin Bartlett

Kevin Bartlett (view profile)

31 Mar 2015 Damien Garcia

Damien Garcia (view profile)

Thank you for this efficient piece of code.

26 Sep 2014 Minch

Minch (view profile)

11 Jun 2014 Yongming  
04 Feb 2014 Joe Yeh

Joe Yeh (view profile)

It's working like Magic !!

25 Jul 2013 David Malling  
23 Jul 2013 Heidi

Heidi (view profile)

So helpful and easy to use. Thank you

03 Jul 2013 luke

luke (view profile)

Very helpful - solves a frustrating issue with quiver

29 Oct 2012 Santiago  
13 Jun 2012 Rongwen Lu

Thanks. IT's very useful.

06 Jun 2012 Evan Variano

Thank you for this helpful code!

31 Mar 2012 ATN

ATN (view profile)

Seems to work well in 2D, thanks for the contribution. Is scaling in the 3rd dimension not implemented yet?

Comment only
13 Jan 2012 William

Works like a charm.

Contact us