Plot training error with gnuplot