fix all the gnuplot files (I'm going insane)

This commit is contained in:
jacekpoz 2024-04-10 13:38:14 +02:00
parent 53e0aaa31d
commit 05e0b43512
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8
18 changed files with 165 additions and 21 deletions

View file

@ -5,9 +5,8 @@ set xlabel "n"
set ylabel "Average comparisons" set ylabel "Average comparisons"
set term pdfcairo font "JetBrainsMono-NF,12" set term pdfcairo font "JetBrainsMono-NF,12"
plot "./results/k1/small" \ plot "./results/k1/large" \
using 1:2 t "InsertionSort", \ using 1:2 t "QuickSort", \
"" using 1:4 t "QuickSort", \ "" using 1:4 t "HybridSort"
"" using 1:6 t "HybridSort"
# vim: ft=gnuplot # vim: ft=gnuplot

View file

@ -0,0 +1,12 @@
set title "Average comparisons / n, k = 1, n ∈ {1000, 2000, ..., 50000}"
set style data lines
set xlabel "n"
set ylabel "Average comparisons / n"
set term pdfcairo font "JetBrainsMono-NF,12"
plot "./results/k1/large" \
using 1:6 t "QuickSort", \
"" using 1:8 t "HybridSort"
# vim: ft=gnuplot

View file

@ -0,0 +1,13 @@
set title "Average comparisons / n, k = 1, n ∈ {10, 20, ..., 50}"
set style data lines
set xlabel "n"
set ylabel "Average comparisons / n"
set term pdfcairo font "JetBrainsMono-NF,12"
plot "./results/k1/small" \
using 1:8 t "InsertionSort", \
"" using 1:10 t "QuickSort", \
"" using 1:12 t "HybridSort"
# vim: ft=gnuplot

View file

@ -6,8 +6,7 @@ set ylabel "Average swaps"
set term pdfcairo font "JetBrainsMono-NF,12" set term pdfcairo font "JetBrainsMono-NF,12"
plot "./results/k1/large" \ plot "./results/k1/large" \
using 1:3 t "InsertionSort", \ using 1:3 t "QuickSort", \
"" using 1:5 t "QuickSort", \ "" using 1:5 t "HybridSort"
"" using 1:7 t "HybridSort"
# vim: ft=gnuplot # vim: ft=gnuplot

View file

@ -0,0 +1,12 @@
set title "Average swaps / n, k = 1, n ∈ {1000, 2000, ..., 50000}"
set style data lines
set xlabel "n"
set ylabel "Average swaps / n"
set term pdfcairo font "JetBrainsMono-NF,12"
plot "./results/k1/large" \
using 1:7 t "QuickSort", \
"" using 1:9 t "HybridSort"
# vim: ft=gnuplot

View file

@ -0,0 +1,13 @@
set title "Average swaps / n, k = 1, n ∈ {10, 20, ..., 50}"
set style data lines
set xlabel "n"
set ylabel "Average swaps / n"
set term pdfcairo font "JetBrainsMono-NF,12"
plot "./results/k1/small" \
using 1:9 t "InsertionSort", \
"" using 1:11 t "QuickSort", \
"" using 1:13 t "HybridSort"
# vim: ft=gnuplot

View file

@ -5,9 +5,8 @@ set xlabel "n"
set ylabel "Average comparisons" set ylabel "Average comparisons"
set term pdfcairo font "JetBrainsMono-NF,12" set term pdfcairo font "JetBrainsMono-NF,12"
plot "./results/k10/small" \ plot "./results/k10/large" \
using 1:2 t "InsertionSort", \ using 1:2 t "QuickSort", \
"" using 1:4 t "QuickSort", \ "" using 1:4 t "HybridSort"
"" using 1:6 t "HybridSort"
# vim: ft=gnuplot # vim: ft=gnuplot

View file

@ -0,0 +1,12 @@
set title "Average comparisons / n, k = 10, n ∈ {1000, 2000, ..., 50000}"
set style data lines
set xlabel "n"
set ylabel "Average comparisons / n"
set term pdfcairo font "JetBrainsMono-NF,12"
plot "./results/k10/large" \
using 1:6 t "QuickSort", \
"" using 1:8 t "HybridSort"
# vim: ft=gnuplot

View file

@ -0,0 +1,13 @@
set title "Average comparisons / n, k = 10, n ∈ {10, 20, ..., 50}"
set style data lines
set xlabel "n"
set ylabel "Average comparisons / n"
set term pdfcairo font "JetBrainsMono-NF,12"
plot "./results/k10/small" \
using 1:8 t "InsertionSort", \
"" using 1:10 t "QuickSort", \
"" using 1:12 t "HybridSort"
# vim: ft=gnuplot

View file

@ -6,8 +6,7 @@ set ylabel "Average swaps"
set term pdfcairo font "JetBrainsMono-NF,12" set term pdfcairo font "JetBrainsMono-NF,12"
plot "./results/k10/large" \ plot "./results/k10/large" \
using 1:3 t "InsertionSort", \ using 1:3 t "QuickSort", \
"" using 1:5 t "QuickSort", \ "" using 1:5 t "HybridSort"
"" using 1:7 t "HybridSort"
# vim: ft=gnuplot # vim: ft=gnuplot

View file

@ -0,0 +1,12 @@
set title "Average swaps / n, k = 10, n ∈ {1000, 2000, ..., 50000}"
set style data lines
set xlabel "n"
set ylabel "Average swaps / n"
set term pdfcairo font "JetBrainsMono-NF,12"
plot "./results/k10/large" \
using 1:7 t "QuickSort", \
"" using 1:9 t "HybridSort"
# vim: ft=gnuplot

View file

@ -0,0 +1,13 @@
set title "Average swaps / n, k = 10, n ∈ {10, 20, ..., 50}"
set style data lines
set xlabel "n"
set ylabel "Average swaps / n"
set term pdfcairo font "JetBrainsMono-NF,12"
plot "./results/k10/small" \
using 1:9 t "InsertionSort", \
"" using 1:11 t "QuickSort", \
"" using 1:13 t "HybridSort"
# vim: ft=gnuplot

View file

@ -5,9 +5,8 @@ set xlabel "n"
set ylabel "Average comparisons" set ylabel "Average comparisons"
set term pdfcairo font "JetBrainsMono-NF,12" set term pdfcairo font "JetBrainsMono-NF,12"
plot "./results/k100/small" \ plot "./results/k100/large" \
using 1:2 t "InsertionSort", \ using 1:2 t "QuickSort", \
"" using 1:4 t "QuickSort", \ "" using 1:4 t "HybridSort"
"" using 1:6 t "HybridSort"
# vim: ft=gnuplot # vim: ft=gnuplot

View file

@ -0,0 +1,12 @@
set title "Average comparisons / n, k = 100, n ∈ {1000, 2000, ..., 50000}"
set style data lines
set xlabel "n"
set ylabel "Average comparisons / n"
set term pdfcairo font "JetBrainsMono-NF,12"
plot "./results/k100/large" \
using 1:6 t "QuickSort", \
"" using 1:8 t "HybridSort"
# vim: ft=gnuplot

View file

@ -0,0 +1,13 @@
set title "Average comparisons / n, k = 100, n ∈ {10, 20, ..., 50}"
set style data lines
set xlabel "n"
set ylabel "Average comparisons / n"
set term pdfcairo font "JetBrainsMono-NF,12"
plot "./results/k100/small" \
using 1:8 t "InsertionSort", \
"" using 1:10 t "QuickSort", \
"" using 1:12 t "HybridSort"
# vim: ft=gnuplot

View file

@ -6,8 +6,7 @@ set ylabel "Average swaps"
set term pdfcairo font "JetBrainsMono-NF,12" set term pdfcairo font "JetBrainsMono-NF,12"
plot "./results/k100/large" \ plot "./results/k100/large" \
using 1:3 t "InsertionSort", \ using 1:3 t "QuickSort", \
"" using 1:5 t "QuickSort", \ "" using 1:5 t "HybridSort"
"" using 1:7 t "HybridSort"
# vim: ft=gnuplot # vim: ft=gnuplot

View file

@ -0,0 +1,12 @@
set title "Average swaps / n, k = 100, n ∈ {1000, 2000, ..., 50000}"
set style data lines
set xlabel "n"
set ylabel "Average swaps / n"
set term pdfcairo font "JetBrainsMono-NF,12"
plot "./results/k100/large" \
using 1:7 t "QuickSort", \
"" using 1:9 t "HybridSort"
# vim: ft=gnuplot

View file

@ -0,0 +1,13 @@
set title "Average swaps / n, k = 100, n ∈ {10, 20, ..., 50}"
set style data lines
set xlabel "n"
set ylabel "Average swaps / n"
set term pdfcairo font "JetBrainsMono-NF,12"
plot "./results/k100/small" \
using 1:9 t "InsertionSort", \
"" using 1:11 t "QuickSort", \
"" using 1:13 t "HybridSort"
# vim: ft=gnuplot