Data may be represented as arrows connecting two points on a plot by using the arrows plot style. This takes four columns of data – ,
,
and
– and for each data point draws an arrow from the point
to the point
. Three different kinds of arrows can be drawn: ones with normal arrow heads, ones with no arrow heads, which just appear as lines, and ones with arrow heads on both ends. The syntax to obtain these varieties is:
plot 'data.dat' with arrows_head plot 'data.dat' with arrows_nohead plot 'data.dat' with arrows_twohead
The syntax with arrows is a shorthand for with arrows_head. This plot style is analogous to the vectors plot style in Version 4 of Gnuplot.