finally got gnuplot to work