plot 2/3D vector(s)

Plots 2D or 3D vectors at points, both provided as matrices of column vectors.
592.0 次下载
更新时间 2012/2/23

查看许可证

QUIVERMD(AX, X, V, VARARGIN) plots the column vectors in matrix V at the points with coordinates the column vectors in matrix X, within axes object AX using plot formatting options in VARARGIN.

Example
x = linspace(0, 10, 20);
y = linspace(0, 10, 20);
[X, Y] = meshgrid(x, y);

x = [X(:), Y(:) ].';
v = [sin(x(1, :) ); cos(x(2, :) ) ];

quivermd(gca, x, v)

For usage information please type "help quivermd".

引用格式

Ioannis Filippidis (2024). plot 2/3D vector(s) (https://www.mathworks.com/matlabcentral/fileexchange/35224-plot-2-3d-vector-s), MATLAB Central File Exchange. 检索来源 .

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

参考作品: plot 2/3D point(s)

Community Treasure Hunt

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

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