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


VectorFieldPlot3D[{fx, fy, fz}, {x, xmin, xmax}, {y, ymin, ymax}, {z, zmin, zmax}]
generates a three-dimensional plot of the vector field given by the vector-valued function {fx, fy, fz} as a function of x, y and z.
VectorFieldPlot3D[{fx, fy, fz}, {x, xmin, xmax, dx}, {y, ymin, ymax, dy}, {z, zmin, zmax, dz}]
uses steps dx, dy and dz for variables x, y and z respectively.
  • Variables x, y and z are coordinates in a Cartesian coordinate system.
  • VectorFieldPlot3D has the same options as Graphics3D, with the following additions and changes:
ScaleFactorAutomaticthe scale of the vectors to the mesh; Max ensures that the largest vector fits in the mesh
ScaleFunctionNonefunction to rescale the length of vectors
MaxArrowLengthNonedetermines the largest vector to be drawn
ColorFunctionNonethe colors to use
VectorHeadsFalsewhether to draw vectors with heads
PlotPoints7number of evalution points in each direction
A field radiating from {0, 0, 0}:
Click for copyable input
VectorHeads->True draws arrowheads on the vectors:
Click for copyable input