set terminal pdfcairo set format y "%1.1t{/Symbol \264}10^{%L}" set format x "%1.0t{/Symbol \264}10^{%L}" set rmargin 4 set style line 1 lt 1 lw 3 dashtype 1 ps 1 set style line 2 lt 2 lw 3 dashtype 2 ps 1 set style line 3 lt 3 lw 3 dashtype 3 ps 1 set style line 4 lt 4 lw 3 dashtype 4 ps 1 set key left top horizontal samplen 3 maxcol 2 width .1 set xtics out nomirror set ytics out nomirror set xlabel "Insertion Throughput (ins/sec)" set ylabel "Query Latency (ns)" #set title "Insertion Throughput vs. Query Latency (ISAM Point Lookup)" set output "ins-v-q.pdf" #set xtics 1e6 #set ytics 1e5 set xtics 1e6 set ytics 1e5 #set yrange [6.0e4:7.5e4] #set yrange[6.0e2:2.0e4] set xrange[0:6e6] set yrange[0:4e5] plot "2.txt" using 2:3:1 with lp ls 2 title "2", \ "4.txt" using 2:3:1 with lp ls 3 title "4", \ "6.txt" using 2:3:1 with lp ls 4 title "6", \ "8.txt" using 2:3:1 with lp ls 5 title "8", \ # "10.txt" using 2:3:1 with line ls 5 title "10", \ # "2.txt" using 2:3:1 with labels offset 0,.5 font "Sans,5" notitle,\ # "4.txt" using 2:3:1 with labels offset 0,.5 font "Sans,5" notitle,\ # "8.txt" using 2:3:1 with labels offset 0,.5 font "Sans,5" notitle, \ # "32.txt" using 2:3:1 with labels offset 0,.5 font "Sans,5" notitle # "bsm.txt" using 2:(1/$3)*1e9:3 with line ls 4 title "Bentley-Saxe",\ # "bsm.txt" using 2:(1/$3)*1e9:3 with labels offset 0,.5 font "Sans,5" notitle