add gnuplot files
This commit is contained in:
parent
8e1aeff405
commit
bcf9a3db19
9 changed files with 113 additions and 0 deletions
1
lab4/zad2/.gitignore
vendored
1
lab4/zad2/.gitignore
vendored
|
@ -1,2 +1,3 @@
|
||||||
target
|
target
|
||||||
results
|
results
|
||||||
|
plots
|
||||||
|
|
14
lab4/zad2/gnuplot/asc_comp.gp
Normal file
14
lab4/zad2/gnuplot/asc_comp.gp
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
set title "Insert n asc, delete n rand - Comp, n ∈ {10000, 20000, ..., 100000}"
|
||||||
|
set style data lines
|
||||||
|
|
||||||
|
set xlabel "n"
|
||||||
|
set ylabel "comparisons"
|
||||||
|
set term pdfcairo font "JetBrainsMono-NF,12"
|
||||||
|
|
||||||
|
plot "./results/asc_comp" \
|
||||||
|
using 1:2 t "Average", \
|
||||||
|
"" using 1:3 t "Max", \
|
||||||
|
|
||||||
|
set terminal pdf
|
||||||
|
|
||||||
|
# vim: ft=gnuplot
|
14
lab4/zad2/gnuplot/asc_height.gp
Normal file
14
lab4/zad2/gnuplot/asc_height.gp
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
set title "Insert n asc, delete n rand - Height, n ∈ {10000, 20000, ..., 100000}"
|
||||||
|
set style data lines
|
||||||
|
|
||||||
|
set xlabel "n"
|
||||||
|
set ylabel "height"
|
||||||
|
set term pdfcairo font "JetBrainsMono-NF,12"
|
||||||
|
|
||||||
|
plot "./results/asc_height" \
|
||||||
|
using 1:2 t "Average", \
|
||||||
|
"" using 1:3 t "Max", \
|
||||||
|
|
||||||
|
set terminal pdf
|
||||||
|
|
||||||
|
# vim: ft=gnuplot
|
14
lab4/zad2/gnuplot/asc_read.gp
Normal file
14
lab4/zad2/gnuplot/asc_read.gp
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
set title "Insert n asc, delete n rand - Reads, n ∈ {10000, 20000, ..., 100000}"
|
||||||
|
set style data lines
|
||||||
|
|
||||||
|
set xlabel "n"
|
||||||
|
set ylabel "reads"
|
||||||
|
set term pdfcairo font "JetBrainsMono-NF,12"
|
||||||
|
|
||||||
|
plot "./results/asc_read" \
|
||||||
|
using 1:2 t "Average", \
|
||||||
|
"" using 1:3 t "Max", \
|
||||||
|
|
||||||
|
set terminal pdf
|
||||||
|
|
||||||
|
# vim: ft=gnuplot
|
14
lab4/zad2/gnuplot/asc_write.gp
Normal file
14
lab4/zad2/gnuplot/asc_write.gp
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
set title "Insert n asc, delete n rand - Writes, n ∈ {10000, 20000, ..., 100000}"
|
||||||
|
set style data lines
|
||||||
|
|
||||||
|
set xlabel "n"
|
||||||
|
set ylabel "writes"
|
||||||
|
set term pdfcairo font "JetBrainsMono-NF,12"
|
||||||
|
|
||||||
|
plot "./results/asc_write" \
|
||||||
|
using 1:2 t "Average", \
|
||||||
|
"" using 1:3 t "Max", \
|
||||||
|
|
||||||
|
set terminal pdf
|
||||||
|
|
||||||
|
# vim: ft=gnuplot
|
14
lab4/zad2/gnuplot/rand_comp.gp
Normal file
14
lab4/zad2/gnuplot/rand_comp.gp
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
set title "Insert n rand, delete n rand - Comp, n ∈ {10000, 20000, ..., 100000}"
|
||||||
|
set style data lines
|
||||||
|
|
||||||
|
set xlabel "n"
|
||||||
|
set ylabel "comparisons"
|
||||||
|
set term pdfcairo font "JetBrainsMono-NF,12"
|
||||||
|
|
||||||
|
plot "./results/rand_comp" \
|
||||||
|
using 1:2 t "Average", \
|
||||||
|
"" using 1:3 t "Max", \
|
||||||
|
|
||||||
|
set terminal pdf
|
||||||
|
|
||||||
|
# vim: ft=gnuplot
|
14
lab4/zad2/gnuplot/rand_height.gp
Normal file
14
lab4/zad2/gnuplot/rand_height.gp
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
set title "Insert n rand, delete n rand - height, n ∈ {10000, 20000, ..., 100000}"
|
||||||
|
set style data lines
|
||||||
|
|
||||||
|
set xlabel "n"
|
||||||
|
set ylabel "height"
|
||||||
|
set term pdfcairo font "JetBrainsMono-NF,12"
|
||||||
|
|
||||||
|
plot "./results/rand_height" \
|
||||||
|
using 1:2 t "Average", \
|
||||||
|
"" using 1:3 t "Max", \
|
||||||
|
|
||||||
|
set terminal pdf
|
||||||
|
|
||||||
|
# vim: ft=gnuplot
|
14
lab4/zad2/gnuplot/rand_read.gp
Normal file
14
lab4/zad2/gnuplot/rand_read.gp
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
set title "Insert n rand, delete n rand - Reads, n ∈ {10000, 20000, ..., 100000}"
|
||||||
|
set style data lines
|
||||||
|
|
||||||
|
set xlabel "n"
|
||||||
|
set ylabel "reads"
|
||||||
|
set term pdfcairo font "JetBrainsMono-NF,12"
|
||||||
|
|
||||||
|
plot "./results/rand_read" \
|
||||||
|
using 1:2 t "Average", \
|
||||||
|
"" using 1:3 t "Max", \
|
||||||
|
|
||||||
|
set terminal pdf
|
||||||
|
|
||||||
|
# vim: ft=gnuplot
|
14
lab4/zad2/gnuplot/rand_write.gp
Normal file
14
lab4/zad2/gnuplot/rand_write.gp
Normal file
|
@ -0,0 +1,14 @@
|
||||||
|
set title "Insert n rand, delete n rand - Writes, n ∈ {10000, 20000, ..., 100000}"
|
||||||
|
set style data lines
|
||||||
|
|
||||||
|
set xlabel "n"
|
||||||
|
set ylabel "writes"
|
||||||
|
set term pdfcairo font "JetBrainsMono-NF,12"
|
||||||
|
|
||||||
|
plot "./results/rand_write" \
|
||||||
|
using 1:2 t "Average", \
|
||||||
|
"" using 1:3 t "Max", \
|
||||||
|
|
||||||
|
set terminal pdf
|
||||||
|
|
||||||
|
# vim: ft=gnuplot
|
Loading…
Reference in a new issue