How to draw just arrow in gnuplot

gnuplot, plot

Solution

If you set explicit axis ranges you can plot `NaN` to get a clean set of axes.

Also, `notitle` or `t ''` is needed to hide the key for `NaN`.

set xrange [0:5]
set yrange [0:5]
set arrow from 0,0 to 1,1
plot NaN t ''

Problem

In gnuplot, we draw arrow as: ``` set arrow from 0,0 to 1,1 ``` I want to make a plot with just arrows and no other data. How can I do this. Right now, after setting arrows, I need to give something to plot, since without that arrows don't get plotted. Is it possible to draw just an empty 'plot' without any data? I have also seen online help on gnu etc., but could not get the answer resolved.

Original source