add gnuplot files

This commit is contained in:
jacekpoz 2024-04-09 18:07:00 +02:00
parent 859d6d1d64
commit 3157b6f8e4
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8
12 changed files with 134 additions and 2 deletions

View file

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

View file

@ -1,8 +1,9 @@
set title "Average comparisons, k = 1, n in {10, 20, ..., 50}" set title "Average comparisons, k = 1, n {10, 20, ..., 50}"
set style data lines set style data lines
set xlabel "n" set xlabel "n"
set ylabel "Average comparisons" set ylabel "Average comparisons"
set term pdfcairo font "JetBrainsMono-NF,12"
plot "./results/k1/small" \ plot "./results/k1/small" \
using 1:2 t "InsertionSort", \ using 1:2 t "InsertionSort", \

View file

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

View file

@ -1,8 +1,9 @@
set title "Average swaps, k = 1, n = {10, 20, ..., 50}" set title "Average swaps, k = 1, n {10, 20, ..., 50}"
set style data lines set style data lines
set xlabel "n" set xlabel "n"
set ylabel "Average swaps" set ylabel "Average swaps"
set term pdfcairo font "JetBrainsMono-NF,12"
plot "./results/k1/small" \ plot "./results/k1/small" \
using 1:3 t "InsertionSort", \ using 1:3 t "InsertionSort", \

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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