Just use a pipe to send data to gnuplot.