add gnuplot files
This commit is contained in:
parent
859d6d1d64
commit
3157b6f8e4
12 changed files with 134 additions and 2 deletions
13
lab2/zad2/gnuplot/k1/comp_large.gp
Normal file
13
lab2/zad2/gnuplot/k1/comp_large.gp
Normal 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
|
|
@ -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", \
|
||||||
|
|
13
lab2/zad2/gnuplot/k1/swap_large.gp
Normal file
13
lab2/zad2/gnuplot/k1/swap_large.gp
Normal 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
|
|
@ -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", \
|
||||||
|
|
13
lab2/zad2/gnuplot/k10/comp_large.gp
Normal file
13
lab2/zad2/gnuplot/k10/comp_large.gp
Normal 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
|
13
lab2/zad2/gnuplot/k10/comp_small.gp
Normal file
13
lab2/zad2/gnuplot/k10/comp_small.gp
Normal 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
|
13
lab2/zad2/gnuplot/k10/swap_large.gp
Normal file
13
lab2/zad2/gnuplot/k10/swap_large.gp
Normal 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
|
13
lab2/zad2/gnuplot/k10/swap_small.gp
Normal file
13
lab2/zad2/gnuplot/k10/swap_small.gp
Normal 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
|
13
lab2/zad2/gnuplot/k100/comp_large.gp
Normal file
13
lab2/zad2/gnuplot/k100/comp_large.gp
Normal 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
|
13
lab2/zad2/gnuplot/k100/comp_small.gp
Normal file
13
lab2/zad2/gnuplot/k100/comp_small.gp
Normal 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
|
13
lab2/zad2/gnuplot/k100/swap_large.gp
Normal file
13
lab2/zad2/gnuplot/k100/swap_large.gp
Normal 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
|
13
lab2/zad2/gnuplot/k100/swap_small.gp
Normal file
13
lab2/zad2/gnuplot/k100/swap_small.gp
Normal 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
|
Loading…
Reference in a new issue