plot_cmds() {
cat <<EOF
-set title "Single GW, no modifications, 2048 filters (one per id)"
+set title "Single GW, no modifications, 2048 filters (one per id, mask C00007FF)"
set logscale y
set grid
set xlabel "Time [{/Symbol m}s]"
EOF
lt=1
for i in $ids; do
- (( i != 0)) && echo ", \\"
- echo -n " " \"hist-$i.dat\" with lp lt $lt title \"Message id $i\"
+ echo_plot "\"hist-$i.dat\" with lp lt $lt title \"Message id $i\""
lt=$((lt+1))
done
echo
sshgw cangw -A -s vcan0 -d can1 -f $(printf %x:C00007FF $i)
latester -d can0 -d can1 -d can2 -o -c $COUNT -i 0 -h hist-$i.dat -f time-$i.dat
-
- echo
- sshgw cangw -L
-
done
sshgw ip link del dev vcan0
}