# 70, 0.13 denotes that about 13% time this error takes at least 70 minutes to solve
reset
set xlabel "Hours"
set ylabel "CDF"
set datafile separator ","
# set title "CDF vs Hours"
set terminal pngcairo
set output 'figures/cdf-vs-hours.png'
set key bottom
# set term postscript


set xrange [-100:25000]
set yrange [0:1]
set logscale x 2
# set xtics (0,0.1,0.5,2,10,20,50,100,1000,3000,20000)
set ytics 0.1

plot "../data/timing/cdf-No DS record found.csv" using 1:2 w lines lt 1 title 'Missing DS', \
"../data/timing/cdf-No RRSIG exists.csv" using 1:2 w lines lt -1 title 'Missing RRSIG', \
"../data/timing/cdf-DS-DNSKEY Mismatch.csv" using 1:2 w lines lt 15 title 'DS DNSKEY Mismatch', \
"../data/timing/cdf-expired.csv" using 1:2 w lines lt 4 title 'Expired', \
"../data/timing/cdf-not yet valid.csv" using 1:2 w lines lt 1 dt 2 title 'Not Yet Valid', \
"../data/timing/cdf-unknown key.csv" using 1:2 w lines lt -1 dt 2 title 'Unknown Key', \
"../data/timing/cdf-verify failure.csv" using 1:2 w lines lt 3 title 'Misc.'
# "../data/timing/cdf-unknown hash for algorithm 200.csv" using 1:2 w lines lt 2 lc 2 title 'Unknown Algorithm'
# Unknown algorithm only has two instances and hence ommitted

