set terminal pdf size 8,3.5 set key outside set xlabel 'Parametr n' set ylabel 'Průměrný počet kroků na operaci' set xtics rotate by -270 set output 'figs/graph2.pdf' set title 'Standardní implementace, různé multiplikativní konstanty pro změnu velikosti' show title plot 'results/data_2.txt' using 1:2 with lines title "c = 1.1" lt rgb "#E6194B" lw 2, \ '' using 1:3 with lines title "c = 1.2" lt rgb "#3CB44B" lw 2, \ '' using 1:4 with lines title "c = 1.4" lt rgb "#FFE119" lw 2, \ '' using 1:5 with lines title "c = 1.7" lt rgb "#0082C8" lw 2, \ '' using 1:6 with lines title "c = 2" lt rgb "#F58231" lw 2, \ '' using 1:7 with lines title "c = 2.5" lt rgb "#911EB4" lw 2, \ '' using 1:8 with lines title "c = 3" lt rgb "#46F0F0" lw 2, \ '' using 1:9 with lines title "c = 4" lt rgb "#F032E6" lw 2 set output 'figs/graph2_bigger_constants.pdf' set title 'Standardní implementace, různé multiplikativní konstanty pro změnu velikosti' show title plot 'results/data_2.txt' using 1:3 with lines title "c = 1.2" lt rgb "#3CB44B" lw 2, \ '' using 1:4 with lines title "c = 1.4" lt rgb "#FFE119" lw 2, \ '' using 1:5 with lines title "c = 1.7" lt rgb "#0082C8" lw 2, \ '' using 1:6 with lines title "c = 2" lt rgb "#F58231" lw 2, \ '' using 1:7 with lines title "c = 2.5" lt rgb "#911EB4" lw 2, \ '' using 1:8 with lines title "c = 3" lt rgb "#46F0F0" lw 2, \ '' using 1:9 with lines title "c = 4" lt rgb "#F032E6" lw 2 set logscale y 2 unset logscale x set output 'figs/graph2_logscale_y.pdf' set ylabel 'Průměrný počet kroků na operaci (logaritmická škála)' set title 'Standardní implementace, různé multiplikativní konstanty pro změnu velikosti -- logaritmická škála na ose y' show title plot 'results/data_2.txt' using 1:2 with lines title "c = 1.1" lt rgb "#E6194B" lw 2, \ '' using 1:3 with lines title "c = 1.2" lt rgb "#3CB44B" lw 2, \ '' using 1:4 with lines title "c = 1.4" lt rgb "#FFE119" lw 2, \ '' using 1:5 with lines title "c = 1.7" lt rgb "#0082C8" lw 2, \ '' using 1:6 with lines title "c = 2" lt rgb "#F58231" lw 2, \ '' using 1:7 with lines title "c = 2.5" lt rgb "#911EB4" lw 2, \ '' using 1:8 with lines title "c = 3" lt rgb "#46F0F0" lw 2, \ '' using 1:9 with lines title "c = 4" lt rgb "#F032E6" lw 2 set ylabel "Průměrný počet kroků na operaci" set xlabel "Parametr n \n (logaritmická škála)" set logscale x 2 unset logscale y set output 'figs/graph2_logscale_x.pdf' set title 'Standardní implementace, různé multiplikativní konstanty pro změnu velikosti -- logaritmická škála na ose x' show title plot 'results/data_2.txt' using 1:2 with lines title "c = 1.1" lt rgb "#E6194B" lw 2, \ '' using 1:3 with lines title "c = 1.2" lt rgb "#3CB44B" lw 2, \ '' using 1:4 with lines title "c = 1.4" lt rgb "#FFE119" lw 2, \ '' using 1:5 with lines title "c = 1.7" lt rgb "#0082C8" lw 2, \ '' using 1:6 with lines title "c = 2" lt rgb "#F58231" lw 2, \ '' using 1:7 with lines title "c = 2.5" lt rgb "#911EB4" lw 2, \ '' using 1:8 with lines title "c = 3" lt rgb "#46F0F0" lw 2, \ '' using 1:9 with lines title "c = 4" lt rgb "#F032E6" lw 2 set logscale x 2 set logscale y 2 set ylabel "Průměrný počet kroků na operaci \n (logaritmická škála)" set output 'figs/graph2_logscale_both.pdf' set title 'Standardní implementace, různé multiplikativní konstanty pro změnu velikosti -- logaritmická škála na ose x i y' show title plot 'results/data_2.txt' using 1:2 with lines title "c = 1.1" lt rgb "#E6194B" lw 2, \ '' using 1:3 with lines title "c = 1.2" lt rgb "#3CB44B" lw 2, \ '' using 1:4 with lines title "c = 1.4" lt rgb "#FFE119" lw 2, \ '' using 1:5 with lines title "c = 1.7" lt rgb "#0082C8" lw 2, \ '' using 1:6 with lines title "c = 2" lt rgb "#F58231" lw 2, \ '' using 1:7 with lines title "c = 2.5" lt rgb "#911EB4" lw 2, \ '' using 1:8 with lines title "c = 3" lt rgb "#46F0F0" lw 2, \ '' using 1:9 with lines title "c = 4" lt rgb "#F032E6" lw 2 lb(c,x) = 1 + 1 / (c - 1) ub(c,x) = 2 + 1 / (c - 1) set output 'figs/graph2_codhady.pdf' set title 'Standardní implementace, c = 1.1' show title plot 'results/data_2.txt' using 1:2 with lines title "c = 1.1" lt rgb "#E6194B" lw 2, \ lb(1.1,x) with lines notitle lc rgb "#00CCCC" lw 2, \ ub(1.1,x) with lines notitle lc rgb "#CC00CC" lw 2, \ \ '' using 1:3 with lines title "c = 1.2" lt rgb "#3CB44B" lw 2, \ lb(1.2,x) with lines notitle lc rgb "#00CCCC" lw 2, \ ub(1.2,x) with lines notitle lc rgb "#CC00CC" lw 2, \ \ '' using 1:4 with lines title "c = 1.4" lt rgb "#DED008" lw 2, \ lb(1.4,x) with lines notitle lc rgb "#00CCCC" lw 2, \ ub(1.4,x) with lines notitle lc rgb "#CC00CC" lw 2, \ \ '' using 1:9 with lines title "c = 4" lt rgb "#0000AA" lw 2, \ ub(4.0,x) with lines title "2 + 1 / (c - 1)" lc rgb "#CC00CC" lw 2, \ lb(4.0,x) with lines title "1 + 1 / (c - 1)" lc rgb "#00CCCC" lw 2