set title "{/=20 nanosleep delays}"
set terminal postscript eps enhanced
set xlabel "{/=20Period to sleep [nanoseconds]}"
set ylabel "{/=20Measured delay [nanoseconds]}"
set grid
set autoscale
set style data lines
show style data

set output 'delay_idle.eps'
plot 'delay_idle.txt' using ($1):($2) title "{/=17 Load: no, RT: no}" lw 6

set output 'delay_load.eps'
plot 'delay_load.txt' using ($1):($2) title "{/=17 Load: yes, RT: no}" lw 6

set output 'delay_idle_rt.eps'
plot 'delay_idle_rt.txt' using ($1):($2) title "{/=17 Load: no, RT: yes}" lw 6

set output 'delay_load_rt.eps'
plot 'delay_load_rt.txt' using ($1):($2) title "{/=17 Load: yes, RT: yes}" lw 6
