set yrange [0:] set ytics nomirror set y2range [0:] set y2tics nomirror set ylabel "Loss" set y2label "Accuracy" plot "train.dat" with lines title "training", "test.dat" using 1:3 with linespoint title "testing", "test.dat" using 1:2 with linespoints axes x1y2 title "accuracy" pause 5 reread