plot_cmds() {
if [[ "$1" = detail ]]; then
- range=0.06:0.3
+ range=0.0:0.3
else
- range=0.06:800
+ range=0.01:800
echo "set logscale y"
fi
if [ -s user2-msgs.txt ]; then
cat <<EOF
set title "Single GW rule for all messages, no modifications"
set grid xtics ytics mytics lw 1, lw 0.5
-set xlabel "Time [s]"
+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", \