check if can run gnuplot