I have a data file with two columns
10 0.5
20 0.8
25 0.3
15 0.6
I want to plot the second column if the first column is less than or equal 20. Problem is, I want to skip the rows where the first column is greater than 20, however gnuplot forces me to do something in the conditional part.
The command is
plot 'data.txt' u ($1<=20?$2:0) with points
As you can see, I have to specify to put a point of ZERO. I don't want that! I want to skip....