}
plot_cmds() {
+ max=0.5
+ if [ $traffic = "flood" ]; then max=35; fi
+
cat <<EOF
set title "No GW, two interfaces in PC"
set logscale y
set grid
-set xlabel "Time [{/Symbol m}s]"
+set xlabel "Time [ms]"
set ylabel "Latency profile [messages]"
-plot [0:600] [1:$COUNT] \
+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", \