mod.sh -- now uses same ranges as nop tests.
vcan.sh -- now uses same ranges as vcans test.
plot_cmds() {
if [[ "$1" = detail ]]; then
plot_cmds() {
if [[ "$1" = detail ]]; then
echo "set logscale y"
echo "set key left bottom reverse Left"
echo "set logscale y"
echo "set key left bottom reverse Left"
- echo "set xlabel 'GW latency [{/Symbol m}s]'"
- using="using (\$1*1000):2"
- echo "set xlabel 'GW latency [ms]'"
- using=""
fi
cat <<EOF
set title "Single GW rule for all messages with modifications, 8 byte messages"
set grid xtics mxtics ytics mytics lw 1, lw 0.5
fi
cat <<EOF
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 xlabel "GW latency [ms]"
set ylabel "Latency profile [frames]"
plot [$range] [1:$COUNT] \\
"nop-hist.txt" $using with lp lt 1 title "No modifications", \\
set ylabel "Latency profile [frames]"
plot [$range] [1:$COUNT] \\
"nop-hist.txt" $using with lp lt 1 title "No modifications", \\
if [[ "$1" = detail ]]; then
range=0:0.4
echo "set logscale y"
if [[ "$1" = detail ]]; then
range=0:0.4
echo "set logscale y"
echo "set logscale xy"
fi
cat <<EOF
echo "set logscale xy"
fi
cat <<EOF