Path: Plotting/Utilities
% Plots a set of 2-D or 3-D vectors. The vectors are drawn from the origin using quiver. Has a built-in demo which uses the Coordinates function to make a figure with axes, and three random vectors are drawn in white. -------------------------------------------------------------------------- Form: q = PlotVector( v, fig, color ) -------------------------------------------------------------------------- ------ Inputs ------ v (m,n) Set of vectors, where m is the dimension (2 or 3), and n is the number of vectors fig (1) Figure handle (optional) color (:) Color of vector (optional, default 'white') ------- Outputs ------- q (:) Handles to quiver objects --------------------------------------------------------------------------
Common: CommonData/SwooshWatermark Common: General/Watermark Common: Graphics/Coordinates Common: Graphics/NewFig Math: Linear/Mag Math: Linear/Unit
Back to the Plotting Module page