Talking to gnuplot with C