#!/bin/bash
. _lib.sh
t() {
# Data are reused from 'rtt' test
true
}
p() { cat <<EOF
set title "Round-trip time history"
set logscale y
set grid
set xlabel "Ping number"
set ylabel "Round-trip time [ms]"
plot "../00-rtt/socketcan-times-1000.dat" with lines, "../00-rtt/lincan-times-1000.dat" with lines
EOF
}