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


VectorFieldPlot[{fx, fy}, {x, xmin, xmax}, {y, ymin, ymax}]
generates a plot of the vector field given by the vector valued function {fx, fy} as a function of x and y.
VectorFieldPlot[{fx, fy}, {x, xmin, xmax, dx}, {y, ymin, ymax, dy}]
uses steps dx in variable x, and steps dy in variable y.
  • VectorFieldPlot 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
PlotPoints15the number of evaluation points in each direction
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