function [h1, h2] = plot_dir (vX, vY)
Plotting x-y variables with direction indicating vector to the next element.
Example
vX = linspace(0,2*pi, 10)';
vY = sin (vX);
plot_dir(vX, vY);
Plot and quiver functions used.
引用格式
Kangwon Lee (2026). Plot With Direction (https://ww2.mathworks.cn/matlabcentral/fileexchange/1676-plot-with-direction), MATLAB Central File Exchange. 检索时间: .
致谢
启发作品: Plot directed, DIRECTEDPLOT
