#We consider that we have a file, nammed stats.txt, #in which, on each line we have three values #frameNumber MSE PSNR # #This file, passed as parameter to gnuplot : # gnuplot -persist example2.gnuplot # will display the curves of the MSE against time, and PSNR against time. set xlabel "Frames" set ylabel "MSE,PSNR" #set xrange [0:110] #set yrange [0: 700] set xtics 10 set ytics 50 set style line 1 lw 5 set style line 2 lw 5 plot 'stats.txt' using 1:2 with lines title 'MSE', 'stats.txt' using 1:3 with lines title 'PSNR'