-set terminal postscript color eps enhanced size 15cm,7cm lw 1 "Times-Roman" 10
-set log y
-set xrange [ 1 : 5000 ]
+set terminal postscript color eps enhanced size 8cm,4cm lw 1 "Times-Roman" 10
+#set log y
+#set xrange [ 1 : 5000 ]
#set yrange [ 0.25 : 1000 ]
-set xlabel "N-th sample"
-set ylabel "Time spent in can\\_send() function[us]"
+set style data histogram
+set style histogram cluster gap 1
+set style fill solid border -1
+set boxwidth 0.9
+
+set xlabel "Different configurations of qdiscs and cangen"
+set ylabel "Time spent in can\\_send() function [us]"
-set style data lines
set style line 1 linetype 1 linecolor rgb "black" linewidth 1 pointtype 1
set style line 2 linetype 1 linecolor rgb "yellow" linewidth 1 pointtype 1
set style line 3 linetype 1 linecolor rgb "blue" linewidth 1 pointtype 1
set style line 6 linetype 1 linecolor rgb "cyan" linewidth 1 pointtype 1
set style line 7 linetype 1 linecolor rgb "violet" linewidth 1 pointtype 1
+set style histogram clustered
-#set style data points
-#set style data dots
-#set pointsize 1
plot \
- "ftrace_sff_pfifo1_plot.dat" ls 1 title "Default pfifo qdisc; fixed CAN ID", \
- "ftrace_sff_pfifo2_plot.dat" ls 2 title "Default pfifo qdisc; incrementing CAN ID", \
- "ftrace_sff_prio1_plot.dat" ls 3 title "Prio qdisc; every frame is classified into the first class", \
- "ftrace_sff_prio1b_plot.dat" ls 4 title "Prio qdisc; most of the traffic goes into default (last) class", \
- "ftrace_sff_prio2_plot.dat" ls 5 title "Prio qdisc; 5 classes, each has filter with 128 rules", \
- "ftrace_sff_htb1_plot.dat" ls 6 title "Simple HTB qdisc; fixed CAN ID", \
- "ftrace_sff_htb2_plot.dat" ls 7 title "Simple HTB qdisc; incrementing CAN ID"
-
+ "test2_plot.dat" using 2:xticlabels(1) ls 1 title "P4 PC; g = 0", \
+ "test1_plot.dat" using 2:xticlabels(1) ls 2 title "P4 PC; g = 1", \
+ "test3_plot.dat" using 2:xticlabels(1) ls 3 title "MPC5200 PPC; g = 0", \
+ "test4_plot.dat" using 2:xticlabels(1) ls 4 title "MPC5200 PPC; g = 1", \
+ "test5_plot.dat" using 2:xticlabels(1) ls 5 title "MPC5200 PPC; g = 2";