From 4b3173bbe0ecb9cc5624c2762183f1b90fb134c7 Mon Sep 17 00:00:00 2001 From: Douglas Rumbaugh Date: Wed, 25 Jun 2025 16:40:55 -0400 Subject: Plot updates --- plot-data/stall-sf-sweep/plot.plt | 47 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 plot-data/stall-sf-sweep/plot.plt (limited to 'plot-data/stall-sf-sweep/plot.plt') diff --git a/plot-data/stall-sf-sweep/plot.plt b/plot-data/stall-sf-sweep/plot.plt new file mode 100644 index 0000000..4e9adf4 --- /dev/null +++ b/plot-data/stall-sf-sweep/plot.plt @@ -0,0 +1,47 @@ +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 + -- cgit v1.2.3