blob: 70499bfc722d402e2c27c52fd6bc8b7360e3c2ed [file] [log] [blame]
#set terminal pdf monochrome size 4.15,1.6 font "Times-Roman, 12"
set term pdf truecolor size 4.15,2 font "Times-Roman, 12"
set rmargin 1
#set bmargin 6
set tmargin 2
set output "throughput.pdf"
set xlabel "buffer size"
set ylabel "throughput [Gbit/s]"
set key left top
#set nokey
#set xrange [0.5:7]
set yrange [0:100]
set xtics ("128B" 0, "256B" 1, "512B" 2, "1K" 3, "128K" 4, "256K" 5, "512K" 6, "1MB" 7)
set ytics 0,20,100
set style line 1 lc rgb "#4dafa4" lw 4
set style line 2 lc rgb "#ff7f00" lw 4
set style line 3 lc rgb "#e41a1c" lw 4
set style line 4 lc rgb "#377eb8" lw 4
set style increment user
set grid ytics mytic
set style arrow 1 heads filled size screen 0.03,15 ls 2
set style arrow 2 heads size screen 0.008,90 ls 7
set style arrow 3 heads size screen 0.008,90 ls 7
set style arrow 4 nohead size screen 0.008,90 ls 7
plot "crail.dat" using ($0):($4/1000):(0.2) with boxes axis x1y1 title "Write" fs solid 0.9,\
"crail.dat" using ($0+0.2):($5/1000):(0.2) with boxes axis x1y1 title "Read" fs solid 0.9