This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

ListVectorFieldPlot

ListVectorFieldPlot[{{{x11, y11}, {x12, y12}, ...}, ...}]
generates a plot of the vector field corresponding to the array of vectors {{{x11, y11}, ...}, ...}.
ListVectorFieldPlot[{{pt1, vec1}, {pt2, vec2}, ...}]
generates a plot of a list of vectors, each based at the corresponding point.
  • The array of vectors {{{x11, y11}, {x12, y12}, ...}, ...} must be rectangular, with dimensions at least 2×2.
  • Vectors given in an array are regularly spaced with vector {x11, x11} placed at the upper-left corner.
  • ListVectorFieldPlot has the same options as Graphics, with the following additions and changes:
ColorFunctionNonea function to use for coloring the vectors by their magnitude
MaxArrowLengthNonelength of the largest vector to be drawn, applied after the ScaleFunction, but before the ScaleFactor
ScaleFactorAutomaticlinearly rescales the vectors so the longest vector is equal to this value; Automatic fits the vectors in the mesh, None eliminates the rescaling
ScaleFunctionNonea function to use for rescaling the magnitude of vectors
Needs["VectorFieldPlots`"]
Field plot from an array of vectors:
In[2]:=
Click for copyable input
Out[2]=