set datafile separator "," set key autotitle columnhead stats file using 1 nooutput t0 = STATS_min set terminal pngcairo size 1200,800 enhanced font "Sans,10" set multiplot layout 3,1 title "Process Resource Usage" font "Sans,12" set grid set xtics rotate by -30 set ylabel "CPU %" set yrange [0:*] plot file using ($1-t0):2 with lines lw 2 lc rgb "#e74c3c" title "CPU %" set ylabel "RAM (MB)" set yrange [0:*] plot file using ($1-t0):3 with lines lw 2 lc rgb "#3498db" title "RAM (MB)" set ylabel "Open FDs" set xlabel "Time (seconds)" set yrange [0:*] plot file using ($1-t0):4 with lines lw 2 lc rgb "#2ecc71" title "Open FDs" unset multiplot