Graphics Previous page   Next Page

Two-Dimensional Quiver Plots

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.


Previous page  Feather Plots Three-Dimensional Quiver Plots Next page

© 1994-2005 The MathWorks, Inc.