blob: 54213129079b3757f3c91262a51d001e677f426c [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 term svg size 640,300 font "Times-Roman, 12"
set rmargin 1
#set bmargin 6
set tmargin 2
set output "write.svg"
set xlabel "Buffer size"
set ylabel "Throughput [Gbit/s]"
set title "Single-client (1 core) throughput"
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 "Crail" fs solid 0.9,\
"alluxio.dat" using ($0+0.235):($2/1000):(0.2) with boxes axis x1y1 title "Alluxio" fs solid 0.9