set xlabel 'time' set ylabel 'engine RPM' set y2label 'km/hr' set yrange [0:4500] set y2range [0:140] set y2tics 5 set title '' set data style lines set ytics 250 set grid ytics set border 31 lw 0.5 set timefmt "%s" set timefmt "%H:%M:%S" set format x "%H:%M" set xdata time plot "trip.dat" using 1:3 title 'engine RPM' with lines linewidth 2 linecolor rgb "black", \ "trip.dat" using 1:4 title 'speed in km/h' with lines axes x1y2 linewidth 2 linecolor rgb "blue", \ "trip.dat" using 1:5 title 'throttle %' with lines axes x1y2 linewidth 2 linecolor rgb "orange", \ "trip.dat" using 1:7 title 'intake manifold pressure (kPa)' with lines axes x1y2 linewidth 2 linecolor rgb "red", \ "trip.dat" using 1:8 title 'airflow rate (g/s)' with lines axes x1y2 linewidth 2 linecolor rgb "#216330" set terminal png size 1600,800 set output "trip.png" replot