Code covered by the BSD License  

Highlights from
Adjust "quiver" arrowhead size

5.0

5.0 | 1 rating Rate this file 61 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 (2011b)
Tags for This File  
Everyone's Tags
Tags I've Applied
Add New Tags Please login to tag files.
Comments and Ratings (2)
13 Jan 2012 William

Works like a charm.

31 Mar 2012 ATN

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

Please login to add a comment or rating.
Tag Activity for this File
Tag Applied By Date/Time
quiver Kevin J. Delaney 22 Dec 2011 12:56:38
arrowhead Kevin J. Delaney 22 Dec 2011 12:56:38
vector Kevin J. Delaney 22 Dec 2011 12:56:38
arrowhead mike 18 Feb 2012 12:28:36

Contact us at files@mathworks.com