works without gnuplot