addrefarrow.m

Add a reference arrow to 2D quiver plot

You are now following this Submission

% addrefarrow(h,x,y,u,v)
%
% This is a quick hack to add a scale/reference arrow at a desired position
% given by the input argument (x,y). The scale arrow length in the x
% direction is given by u, in the y direction by v.
%
% WARNING, this function modifies the data contained in the quiver graphics
% group handle h!

Cite As

Robert Moucha (2026). addrefarrow.m (https://www.mathworks.com/matlabcentral/fileexchange/14474-addrefarrow-m), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

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