Code covered by the BSD License  

Highlights from
Adjust "quiver" arrowhead size

5.0

5.0 | 4 ratings Rate this file 115 Downloads (last 30 days) File Size: 2.08 KB File ID: #34305

Adjust "quiver" arrowhead size

by Kevin J. Delaney

 

21 Dec 2011

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

| Watch this File

File Information
Description

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

Example:
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  
Everyone's Tags
arrowhead(5), quiver, vector
Tags I've Applied
Add New Tags Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (5)
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

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

13 Jan 2012 William

Works like a charm.

Contact us