-PLOT_CMD='
+p() { cat <<EOF
set title "Round-trip time"
set logscale y
set grid
set xlabel "Time [{/Symbol m}s]"
set ylabel "Latency profile [messages]"
plot [0:] "socketcan-1000.dat" with lp title "Socketcan",\
- "lincan-1000.dat" with lp title "Lincan"
-'
+ "lincan-1000.dat" with lp title "Lincan"
+EOF
+}
PLOT_CMD[1]='
set title "Round-trip time history"
-set logscale xy
+set logscale y
set grid
set xlabel "Ping number"
set ylabel "Round-trip time [{/Symbol m}s]"