Plot With Direction

版本 1.1.0.0 (1.4 KB) 作者: Kangwon Lee
Plot column vectors with arrows pointing to the next elements.
7.1K 次下载
更新时间 2010/11/7

查看许可证

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 (2024). Plot With Direction (https://www.mathworks.com/matlabcentral/fileexchange/1676-plot-with-direction), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R10
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Vector Fields 的更多信息
致谢

启发作品: Plot directed, DIRECTEDPLOT

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.1.0.0

Added comment lines

1.0.0.0