You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
292 B
12 lines
292 B
%PLOT_ARROW Plot arrow
|
|
%
|
|
% PLOT_ARROW(P, OPTIONS) draws an arrow from P1 to P2 where P=[P1; P2].
|
|
%
|
|
% See also ARROW3.
|
|
function plot_arrow(p, varargin)
|
|
mstart = p(1:end-1,:);
|
|
mend = p(2:end,:);
|
|
%mstart = p;
|
|
%mend = [p(2:end,:); p(1,:)];
|
|
|
|
arrow3(mstart, mend, varargin{:});
|