]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - gw-tests/mod.sh
Changed graphs to be more internally consistent.
[can-benchmark.git] / gw-tests / mod.sh
index 102369af32d172882edf1d000d9d1ad5f6fe7324..6f01c8134ac6c5b720b6bedad299864e9b419d22 100755 (executable)
@@ -41,20 +41,17 @@ ADDITIONAL_PLOTS=detail
 
 plot_cmds() {
     if [[ "$1" = detail ]]; then
 
 plot_cmds() {
     if [[ "$1" = detail ]]; then
-       range=0:200
+       range=0.0:0.3
        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"
     else
     else
-       range=0.01:10
+       range=0.01:100
        echo "set logscale xy"
        echo "set logscale xy"
-       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", \\