( echo "plot '< cat data.log' with lines"; while :; do sleep .1; echo replot; done ) | gnuplot -persist