set terminal latex
set output "plot.tex"
set size 1.02, 1.05

set xlabel "Number of disks"
set ylabel "Mbytes/s"

set title 'Throughput of TC and DDIO on random-blocks layout, varying number of disks'

set key 10,9

set data style linespoints

set label "Max bandwidth" at 15,10.4

plot [0:34] [0:11] 'max'  notitle w lines 3,\
 'data.DDIO.wrlw' title 'DDIO \wrlw/' w linesp 1 1,\
 'data.DDIO.wrn' title 'DDIO \wrn/' w linesp 1 2,\
 'data.DDIO.wrb' title 'DDIO \wrb/' w linesp 1 3,\
 'data.DDIO.wrc' title 'DDIO \wrc/' w linesp 1 4,\
 'data.TC.wrlw' title 'TC \wrlw/' w linesp 2 1,\
 'data.TC.wrn' title 'TC \wrn/' w linesp 2 2,\
 'data.TC.wrb' title 'TC \wrb/' w linesp 2 3,\
 'data.TC.wrc' title 'TC \wrc/' w linesp 2 4
