set terminal png set output "fig_mm1000.png" set xlabel "x-axis" set ylabel "y-axis" set xtics 1000.000000 set format x "%.0f" set ytics 5.000000 set format y "%.0f" set xrange [1000.000000:8000.000000] set yrange [-5.000000:30.000000] set grid xtics ytics mxtics mytics plot \ "temp0.prn" with points pointtype 1 title "Input data", \ "temp1.prn" with lines linetype 3 title "Estimated", \ "temp2.prn" with points pointtype 2 title "Residual"