]> rtime.felk.cvut.cz Git - lisovros/canprio_benchmark.git/blob - samq_plot.txt
Added benchmarks performed on P4 on vcan device.
[lisovros/canprio_benchmark.git] / samq_plot.txt
1 set terminal pdfcairo enhanced size 8cm,4cm lw 1 font "Times-Roman,4pt"
2 set output 'plot.pdf'
3 #set log y
4 set style data histogram
5 set style fill solid border -1
6 set boxwidth 0.9
7 set grid
8 set key left reverse Left
9
10 set xlabel "Different configurations of qdiscs and cangen"
11 set ylabel "Time spent in can\\_send() function [{/Symbol m}s]"
12 # set y2label "Time spent in can\\_send() function [{/Symbol m}s]"
13
14 set style line 1 linetype 1 linecolor rgb "black"    linewidth 1 pointtype 1 
15 set style line 2 linetype 1 linecolor rgb "yellow"   linewidth 1 pointtype 1
16 set style line 3 linetype 1 linecolor rgb "blue"     linewidth 1 pointtype 1
17 set style line 4 linetype 1 linecolor rgb "red"      linewidth 1 pointtype 1
18 set style line 5 linetype 1 linecolor rgb "green"    linewidth 1 pointtype 1
19 set style line 6 linetype 1 linecolor rgb "cyan"     linewidth 1 pointtype 1
20 set style line 7 linetype 1 linecolor rgb "violet"   linewidth 1 pointtype 1
21
22 set style histogram errorbars gap 1 lw 2
23 set bars fullwidth
24
25 set yrange [0:200]
26 # set y2range [0:30]
27 # set y2tics
28
29 plot \
30         "test2_plot.dat" using 2:4:6 :xticlabels(1) ls 1 axes x1y1 title "P4; 0 ms", \
31         "test1_plot.dat" using 2:4:6:xticlabels(1) ls 2 axes x1y1 title "P4; 1 ms", \
32         "test3_plot.dat" using 2:4:6:xticlabels(1) ls 3 axes x1y1 title "MPC5200; 0 ms", \
33         "test4_plot.dat" using 2:4:6:xticlabels(1) ls 4 axes x1y1 title "MPC5200; 1 ms", \
34         "test5_plot.dat" using 2:4:6:xticlabels(1) ls 5 axes x1y1 title "MPC5200; 2 ms";