Main Content

Vector Fields

Quiver, compass, feather, and stream plots

Vector fields can model velocity, magnetic force, fluid motion, and gradients. Visualize vector fields in a 2-D or 3-D view using thequiver,quiver3, andstreamlinefunctions. You can also display vectors along a horizontal axis or from the origin.

Three figures showing quiver, contour, and streamline plots

Functions

expand all

quiver Quiver or vector plot
quiver3 3-D quiver or vector plot
compass Arrows emanating from origin
羽毛 Arrows from x-axis
streamline Plot streamlines from 2-D or 3-D vector data
streamslice Plot streamlines in slice planes

Properties

Quiver Properties Quiver chart appearance and behavior
Line Properties Chart line appearance and behavior

Topics