# How to plot a vertical line? - Gnuplot Programming

### How to plot a vertical line?

There are 3 alternatives to plot a vertical line using Gnuplot.

(1) A vertical line can be plotted using ‘set arrow ….. nohead’.

- The start and end points of an arrow need to be explicitly computed.

(2) Other alternative is to generate the in lined data points and plot them.

(3) Another process is to use parametric mode of gnuplot.