]> rtime.felk.cvut.cz Git - can-benchmark.git/blobdiff - gw-tests/filter-sff.sh
Plot vcan graph with the same point types as in the corresponding vcans graph
[can-benchmark.git] / gw-tests / filter-sff.sh
index a597954616e4970555a87d3882d04d940ca32605..15ac60088d0bc86eec7bdbacd65f18ca5177c6ff 100755 (executable)
@@ -14,14 +14,22 @@ main() {
     done
 }
 
+ADDITIONAL_PLOTS=detail
+
 plot_cmds() {
+    if [[ "$1" = detail ]]; then
+       range=0.05:0.3
+       echo "set logscale y"
+    else
+       range=0.05:100
+       echo "set logscale xy"
+    fi
     cat <<EOF
 set title "2048 GW jobs (one per id, mask C00007FF), no modifications"
-set logscale y
-set grid
-set xlabel "Time [{/Symbol m}s]"
+set grid xtics mxtics ytics mytics lw 1, lw 0.5
+set xlabel "Time [ms]"
 set ylabel "Latency profile [messages]"
-plot [0:1500] [1:$COUNT] \\
+plot [$range] [1:$COUNT] \\
 EOF
     lt=1
     for i in $ids; do