Gnuplot: conditional plotting ($2 == 15 ? $2 : ‘1/0’) with lines

+1 for a great question. I (mistakenly) would have thought that what you had would work, but looking at help datafile using examples shows that I was in fact wrong. The behavior you’re seeing is as documented. Thanks for teaching me something new about gnuplot today 🙂 “preprocessing” is (apparently) what is needed here, but … Read more