File Exchange

image thumbnail

plot 2/3D vector(s)

version (1.61 KB) by Ioannis Filippidis
Plots 2D or 3D vectors at points, both provided as matrices of column vectors.


Updated 23 Feb 2012

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.

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 (2020). plot 2/3D vector(s) (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (0)

MATLAB Release Compatibility
Created with R2011b
Compatible with any release
Platform Compatibility
Windows macOS Linux

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