File Exchange

image thumbnail

plot 2/3D vector(s)

version 1.0 (1.61 KB) by

Plots 2D or 3D vectors at points, both provided as matrices of column vectors.

4 Downloads

Updated

View License

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".

Comments and Ratings (0)

MATLAB Release
MATLAB 7.13 (R2011b)
Acknowledgements

Inspired by: plot 2/3D point(s)

Download apps, toolboxes, and other File Exchange content using Add-On Explorer in MATLAB.

» Watch video