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

set xlabel "Record size in bytes"
set ylabel "Mbytes/s"

set title 'Throughput of TC on \wrc/, varying record size'

set key 7800,27
set offsets 400,400
set noyzeroaxis

set xtics ("8" 8, 1024, 4096, 8192)

set data style linespoints

set label "Max bandwidth" at 4200, 38.8 left

plot [0:8192] [0:40]  'max' notitle w lines 3,\
 'data.contig.wrc' title 'contiguous' w linesp 1 4,\
 'data.rsectors.wrc' title 'random blocks' w linesp 2 4
