Search code examples
gnuplot

Gnuplot: Vertical lines at specific positions


I'm reading data from a csv file in help of gnuplot. Most of the lines have 8 columns, some of them 9. Whenever there are 9 columns, I'd like to draw a vertical line (think of marking that position). Can I achieve that with gnuplot?


Solution

  • simply fix the scale by setting the yrange:

    set yrange [##:##]

    where ## is a place holder for some number :)

    Cheers,
    B2S