-PLOT_CMD='
-set title "Round-trip time depending on delay between sends"
+p() { cat <<EOF
+set title "Round-trip time depending on delay between response reception and next send"
set logscale y
set grid
-set xlabel "Time [{/Symbol m}s]"
+set xlabel "Time [ms]"
set ylabel "Latency profile [messages]"
-plot [0:] "socketcan-0-1000.dat" with lp lt 1 title "Socketcan 0",\
- "lincan-0-1000.dat" with lp lt 2 title "Lincan 0",\
- "socketcan-1-1000.dat" with lp lt 1 title "Socketcan 1",\
- "lincan-1-1000.dat" with lp lt 2 title "Lincan 1",\
- "socketcan-2-1000.dat" with lp lt 1 title "Socketcan 2",\
- "lincan-2-1000.dat" with lp lt 2 title "Lincan 2"
-'
+plot [0:] "socketcan-0-1000.dat" with lp lt 1 title "Socketcan - 0 ms delay",\
+ "lincan-0-1000.dat" with lp lt 2 title "Lincan - 0 ms delay",\
+ "socketcan-1-1000.dat" with lp lt 1 title "Socketcan - 1 ms delay",\
+ "lincan-1-1000.dat" with lp lt 2 title "Lincan - 1 ms delay",\
+ "socketcan-2-1000.dat" with lp lt 1 title "Socketcan - 2 ms delay",\
+ "lincan-2-1000.dat" with lp lt 2 title "Lincan - 2 ms delay"
+EOF
+}