next up previous contents index
Next: Xerrorbars Up: Plotting styles Previous: Rgbimage   Contents   Index


Vectors

The 2D vectors style draws a vector from (x,y) to (x+xdelta,y+ydelta). The 3D vectors style is similar, but requires six columns of basic data. A small arrowhead is drawn at the end of each vector.


    4 columns:  x  y  xdelta  ydelta
    6 columns:  x  y  z  xdelta  ydelta  zdelta

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. [*]).


2012-02-05