I want to plot with filled curved only until when the value on the column one are less than zero. How should I do? Maybe plot two different line each time with different range?
My code is:
p "data.txt" ($1 <=0 ? $2 : 1/0) w filledcurves , '' ($1 <=0 ? $2 : 1/0) w filledcurves, \
...
But this way the value on the x-axis are wrong and the curve filled in a wrong strange way:

In this other way the x-axis are right while the curve still filled up in a werid way:
plot 'data.txt' u 1:($1<=0?$2:1/0)
Are those a bug in gnuplot?
While I would be something like this but filled up only until zero:

There is also a way to simultaneously plot with line, and select the line style?

