next up previous contents index
Next: Xerrorbars Up: Set style rectangle Previous: Rgbimage   Contents   Index


Vectors

The 2D vectors style draws a vector from (x,y) to (x+xdelta,y+ydelta). Thus it requires four columns of data. It also draws a small arrowhead at the end of the vector. The 3D vectors style is similar, but requires six columns of data. splot with vectors is supported only for set mapping cartesian. The keywords "with vectors" may be followed by arrow style specifications. See arrowstyle (p. [*]) for more details.

Example:

     plot 'file.dat' using 1:2:3:4 with vectors head filled lt 2
     splot 'file.dat' using 1:2:3:(1):(1):(1) with vectors filled head lw 2

set clip one and set clip two affect vectors drawn in 2D. Please see set clip (p. [*]) and arrowstyle (p. [*]).


Ethan Merritt 2007-03-03