| Graphics |    | 
Direction and Velocity Vector Graphs
Several MATLAB functions display data consisting of direction vectors and velocity vectors. This section describes these functions.
| Function | Description | 
|  | |
|  | Displays vectors extending from equally spaced points along a horizontal line. | 
|  | |
|  | 
You can define the vectors using one or two arguments. The arguments specify the x and y components of the vectors relative to the origin.
If you specify two arguments, the first specifies the x components of the vectors and the second the y components of the vectors. If you specify one argument, the functions treat the elements as complex numbers. The real parts are the x components and the imaginary parts are the y components.
|   | Stairstep Plots | Compass Plots |  |