set title "Single GW rule for all messages with modifications, 8 byte messages"
set grid xtics mxtics ytics mytics lw 1, lw 0.5
set ylabel "Latency profile [messages]"
-plot [$range] [1:$COUNT] \
- "nop-hist.txt" $using with lp lt 1 title "No modifications", \
- "mod-hist.txt" $using with lp lt 2 title "Two modifications", \
- "mod2-hist.txt" $using with lp lt 3 title "Four modifications", \
- "modcsxor-hist.txt" $using with lp lt 4 title "Four modifications and XOR checksum",\
+plot [$range] [1:$COUNT] \\
+ "nop-hist.txt" $using with lp lt 1 title "No modifications", \\
+ "mod-hist.txt" $using with lp lt 2 title "Two modifications", \\
+ "mod2-hist.txt" $using with lp lt 3 title "Four modifications", \\
+ "modcsxor-hist.txt" $using with lp lt 4 title "Four modifications and XOR checksum",\\
"modcscrc8-hist.txt" $using with lp lt 5 title "Four modifications and CRC8 checksum"
EOF
}
set grid xtics mxtics ytics mytics lw 1, lw 0.5
set xlabel "Time [ms]"
set ylabel "Latency profile [messages]"
-plot [$range] [1:$COUNT] \
- "len2-hist.txt" with lp lc 1 lt 1 title "PC: 2 byte messages", \
- "len4-hist.txt" with lp lc 2 lt 1 title "PC: 4 byte messages", \
- "len6-hist.txt" with lp lc 3 lt 1 title "PC: 6 byte messages", \
- "len8-hist.txt" with lp lc 4 lt 1 title "PC: 8 byte messages", \
- "canalyzer-2-hist.txt" with lp lc 1 lt 2 title "CANalyzer: 2 byte messages", \
- "canalyzer-4-hist.txt" with lp lc 2 lt 2 title "CANalyzer: 4 byte messages", \
- "canalyzer-6-hist.txt" with lp lc 3 lt 2 title "CANalyzer: 6 byte messages", \
+plot [$range] [1:$COUNT] \\
+ "len2-hist.txt" with lp lc 1 lt 1 title "PC: 2 byte messages", \\
+ "len4-hist.txt" with lp lc 2 lt 1 title "PC: 4 byte messages", \\
+ "len6-hist.txt" with lp lc 3 lt 1 title "PC: 6 byte messages", \\
+ "len8-hist.txt" with lp lc 4 lt 1 title "PC: 8 byte messages", \\
+ "canalyzer-2-hist.txt" with lp lc 1 lt 2 title "CANalyzer: 2 byte messages", \\
+ "canalyzer-4-hist.txt" with lp lc 2 lt 2 title "CANalyzer: 4 byte messages", \\
+ "canalyzer-6-hist.txt" with lp lc 3 lt 2 title "CANalyzer: 6 byte messages", \\
"canalyzer-8-hist.txt" with lp lc 4 lt 2 title "CANalyzer: 8 byte messages"
EOF
}
set key left
set xlabel "Experiment time [s]"
set ylabel "Latency [ms]"
-plot [:] [0.01:4] \
- "len2-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "2 byte messages", \
- "len4-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "4 byte messages", \
- "len6-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "6 byte messages", \
+plot [:] [0.01:4] \\
+ "len2-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "2 byte messages", \\
+ "len4-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "4 byte messages", \\
+ "len6-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "6 byte messages", \\
"len8-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "8 byte messages"
EOF
}
set grid xtics mxtics ytics mytics lw 1, lw 0.5
set xlabel "Time [ms]"
set ylabel "Latency profile [messages]"
-plot [0.01:100] [1:$COUNT] \
- "len2-hist.txt" with lp lt 1 title "2 byte messages", \
- "len4-hist.txt" with lp lt 2 title "4 byte messages", \
- "len6-hist.txt" with lp lt 3 title "6 byte messages", \
+plot [0.01:100] [1:$COUNT] \\
+ "len2-hist.txt" with lp lt 1 title "2 byte messages", \\
+ "len4-hist.txt" with lp lt 2 title "4 byte messages", \\
+ "len6-hist.txt" with lp lt 3 title "6 byte messages", \\
"len8-hist.txt" with lp lt 4 title "8 byte messages"
EOF
}
set key left
set xlabel "Experiment time [s]"
set ylabel "Latency [ms]"
-plot [:] [$range] \
- "len2-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "2 byte messages", \
- "len4-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "4 byte messages", \
- "len6-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "6 byte messages", \
+plot [:] [$range] \\
+ "len2-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "2 byte messages", \\
+ "len4-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "4 byte messages", \\
+ "len6-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "6 byte messages", \\
"len8-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "8 byte messages"
EOF
}
set grid xtics mxtics ytics mytics lw 1, lw 0.5
set xlabel "Time [ms]"
set ylabel "Latency profile [messages]"
-plot [$range] [1:$COUNT] \
- "len2-hist.txt" with lp lt 1 title "2 byte messages", \
- "len4-hist.txt" with lp lt 2 title "4 byte messages", \
- "len6-hist.txt" with lp lt 3 title "6 byte messages", \
+plot [$range] [1:$COUNT] \\
+ "len2-hist.txt" with lp lt 1 title "2 byte messages", \\
+ "len4-hist.txt" with lp lt 2 title "4 byte messages", \\
+ "len6-hist.txt" with lp lt 3 title "6 byte messages", \\
"len8-hist.txt" with lp lt 4 title "8 byte messages"
EOF
}
set grid
set xlabel "Time [ms]"
set ylabel "Latency profile [messages]"
-plot [0.01:$max] [1:$COUNT] \
- "len2-hist.txt" with lp lt 1 title "2 byte messages", \
- "len4-hist.txt" with lp lt 2 title "4 byte messages", \
- "len6-hist.txt" with lp lt 3 title "6 byte messages", \
+plot [0.01:$max] [1:$COUNT] \\
+ "len2-hist.txt" with lp lt 1 title "2 byte messages", \\
+ "len4-hist.txt" with lp lt 2 title "4 byte messages", \\
+ "len6-hist.txt" with lp lt 3 title "6 byte messages", \\
"len8-hist.txt" with lp lt 4 title "8 byte messages"
EOF
}
set grid xtics ytics mytics lw 1, lw 0.5
set xlabel "Experiment time [s]"
set ylabel "Latency [ms]"
-plot [:] [$range] \
- "user2-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "Userspace GW, 2 byte messages", \
- "user8-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "Userspace GW, 8 byte messages", \
- "kern2-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "Kernel GW, 2 byte messages", \
+plot [:] [$range] \\
+ "user2-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "Userspace GW, 2 byte messages", \\
+ "user8-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "Userspace GW, 8 byte messages", \\
+ "kern2-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "Kernel GW, 2 byte messages", \\
"kern8-msgs.txt" using (\$2-$min):(1000*\$14-0.001*\$16) with points title "Kernel GW, 8 byte messages"
EOF
}
set grid xtics mxtics ytics mytics lw 1, lw 0.5
set xlabel "Time [ms]"
set ylabel "Latency profile [messages]"
-plot [$range] [1:$COUNT] \
- "user2-hist.txt" with lp lc 1 lt 1 title "Userspace GW, 2 byte messages", \
- "user8-hist.txt" with lp lc 1 lt 2 title "Userspace GW, 8 byte messages", \
- "kern2-hist.txt" with lp lc 2 lt 1 title "Kernel GW, 2 byte messages", \
+plot [$range] [1:$COUNT] \\
+ "user2-hist.txt" with lp lc 1 lt 1 title "Userspace GW, 2 byte messages", \\
+ "user8-hist.txt" with lp lc 1 lt 2 title "Userspace GW, 8 byte messages", \\
+ "kern2-hist.txt" with lp lc 2 lt 1 title "Kernel GW, 2 byte messages", \\
"kern8-hist.txt" with lp lc 2 lt 2 title "Kernel GW, 8 byte messages"
EOF
}