>>551
ついでなので、答えてみる。

gnuplot> f(x) = 8*x - floor(8*x)
gnuplot> set sample 100000
gnuplot> set xrange[-1:1]
gnuplot> plot f(x) w d