Graphics |
The quiver
function shows vectors at given points in two-dimensional space. The vectors are defined by x and y components.
A quiver plot is useful when displayed with another plot. For example, create 10 contours of the peaks
function (see Contour Plots for more information).
Now use gradient
to create the vector components to use as inputs to quiver
.
Set hold
to on
and add the contour plot.
Feather Plots | Three-Dimensional Quiver Plots |
© 1994-2005 The MathWorks, Inc.