fix all the gnuplot files (I'm going insane)
This commit is contained in:
parent
53e0aaa31d
commit
05e0b43512
18 changed files with 165 additions and 21 deletions
|
@ -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
|
||||||
|
|
12
lab2/zad2/gnuplot/k1/comp_large_n.gp
Normal file
12
lab2/zad2/gnuplot/k1/comp_large_n.gp
Normal 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
|
13
lab2/zad2/gnuplot/k1/comp_small_n.gp
Normal file
13
lab2/zad2/gnuplot/k1/comp_small_n.gp
Normal 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
|
|
@ -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
|
||||||
|
|
12
lab2/zad2/gnuplot/k1/swap_large_n.gp
Normal file
12
lab2/zad2/gnuplot/k1/swap_large_n.gp
Normal 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
|
13
lab2/zad2/gnuplot/k1/swap_small_n.gp
Normal file
13
lab2/zad2/gnuplot/k1/swap_small_n.gp
Normal 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
|
|
@ -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
|
||||||
|
|
12
lab2/zad2/gnuplot/k10/comp_large_n.gp
Normal file
12
lab2/zad2/gnuplot/k10/comp_large_n.gp
Normal 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
|
13
lab2/zad2/gnuplot/k10/comp_small_n.gp
Normal file
13
lab2/zad2/gnuplot/k10/comp_small_n.gp
Normal 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
|
|
@ -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
|
||||||
|
|
12
lab2/zad2/gnuplot/k10/swap_large_n.gp
Normal file
12
lab2/zad2/gnuplot/k10/swap_large_n.gp
Normal 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
|
13
lab2/zad2/gnuplot/k10/swap_small_n.gp
Normal file
13
lab2/zad2/gnuplot/k10/swap_small_n.gp
Normal 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
|
|
@ -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
|
||||||
|
|
12
lab2/zad2/gnuplot/k100/comp_large_n.gp
Normal file
12
lab2/zad2/gnuplot/k100/comp_large_n.gp
Normal 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
|
13
lab2/zad2/gnuplot/k100/comp_small_n.gp
Normal file
13
lab2/zad2/gnuplot/k100/comp_small_n.gp
Normal 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
|
|
@ -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
|
||||||
|
|
12
lab2/zad2/gnuplot/k100/swap_large_n.gp
Normal file
12
lab2/zad2/gnuplot/k100/swap_large_n.gp
Normal 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
|
13
lab2/zad2/gnuplot/k100/swap_small_n.gp
Normal file
13
lab2/zad2/gnuplot/k100/swap_small_n.gp
Normal 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
|
Loading…
Reference in a new issue