summaryrefslogtreecommitdiffstats
path: root/plot-data/selectivity-sweep/plot.plt
diff options
context:
space:
mode:
Diffstat (limited to 'plot-data/selectivity-sweep/plot.plt')
-rw-r--r--plot-data/selectivity-sweep/plot.plt44
1 files changed, 44 insertions, 0 deletions
diff --git a/plot-data/selectivity-sweep/plot.plt b/plot-data/selectivity-sweep/plot.plt
new file mode 100644
index 0000000..dcd1d98
--- /dev/null
+++ b/plot-data/selectivity-sweep/plot.plt
@@ -0,0 +1,44 @@
+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 2 maxcol 2 width .1
+
+set xtics out nomirror
+set ytics out nomirror
+
+unset mxtics
+unset mytics
+
+set xlabel "Query Selectivity (ND) [logscale]"
+set ylabel "Average Query Latency (ns)"
+
+#set title "Query Latency vs. Selectivity"
+
+set output "sel-sweep.pdf"
+
+#set xtics 1e6
+#set ytics 1e5
+
+#set yrange [6.0e4:7.5e4]
+#set yrange[6.0e2:2.0e4]
+
+set logscale x
+
+set yrange[0:2.5e4]
+set ytics 5e3
+
+plot "./sel_tiering_2.txt" using 1:2 with lp ls 1 title "Tiering 2", \
+ "./sel_tiering_4.txt" using 1:2 with lp ls 2 title "Tiering 4", \
+ "./sel_tiering_8.txt" using 1:2 with lp ls 3 title "Tiering 8", \
+ "./sel_leveling_2.txt" using 1:2 with lp ls 4 title "Leveling 2", \
+ "./sel_leveling_4.txt" using 1:2 with lp ls 5 title "Leveling 4", \
+ "./sel_leveling_8.txt" using 1:2 with lp ls 6 title "Leveling 8"
+