Today I observed, that "per-line" ranges, i.e. something like
set xrange [1:5] plot x lc rgb 'black', [3:4] x lc rgb 'red' lw 5
works fine for function, the example above works fine. But for data the range settings of the second command are ignored:
$data <<EOF 1 2 3 4 5 EOF set xrange [1:5] set style data lines plot $data u 1:1 lc rgb 'black', [3:4] $data u 1:1 lc rgb 'red' lw 2
I would expect this to work in the same manner as for functions.