X-Git-Url: http://rtime.felk.cvut.cz/gitweb/can-benchmark.git/blobdiff_plain/52635808ae22d26ce0d4a7636b3b737b0a2dba1e..227dac53cfca24e57a9c96b78c0b7581b3df961d:/ugw/data/plot.gp diff --git a/ugw/data/plot.gp b/ugw/data/plot.gp old mode 100644 new mode 100755 index ba1a4e0..27be572 --- a/ugw/data/plot.gp +++ b/ugw/data/plot.gp @@ -1,12 +1,19 @@ -set title "CAN GW routing latency" -set xlabel "Method" +#!/usr/bin/env gnuplot + +system("make") + +set xlabel "GW implementation" set ylabel "GW latency [µs]" +set y2tics +set y2label "Lost frames" +set y2range [0:*] set style data histogram set style histogram set style fill solid border -1 set boxwidth 0.9 -set key off +set key left Left reverse set grid set xtics rotate by -20 set style histogram errorbars gap 1 lw 1 -plot 'result' using 3:2:4:xtic(1); +plot 'result' using 3:2:4:xtic(1) title "Latency", \ + '' using 6:(0):(0) axes x1y2 title "Lost frames"