plot 2/3D vector(s)
Version 1.0.0.0 (1.61 KB) by
Ioannis Filippidis
Plots 2D or 3D vectors at points, both provided as matrices of column vectors.
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".
Cite As
Ioannis Filippidis (2026). plot 2/3D vector(s) (https://nl.mathworks.com/matlabcentral/fileexchange/35224-plot-2-3d-vector-s), MATLAB Central File Exchange. Retrieved .
MATLAB Release Compatibility
Created with
R2011b
Compatible with any release
Platform Compatibility
Windows macOS LinuxCategories
- MATLAB > Graphics > 2-D and 3-D Plots > Vector Fields >
Find more on Vector Fields in Help Center and MATLAB Answers
Tags
Acknowledgements
Inspired by: plot 2/3D point(s)
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.
| Version | Published | Release Notes | |
|---|---|---|---|
| 1.0.0.0 |
