E.g. if I have a graph and want to add vertical lines at every 10 units along the X-axis.
From the Gnuplot documentation. To draw a vertical line from the bottom to the top of the graph at x=3, use:
set arrow from 3, graph 0 to 3, graph 1 nohead