set terminal postscript enhanced color solid set output "leftAndRightPosition.ps" set xlabel "Time, s" set ylabel "Position, y [m]" set grid plot [0:] "./history/0/history.dat" using 1:2 title "Left wall" with lines, \ "./history/0/history.dat" using 1:3 title "Right wall" with lines set output set terminal x11