set terminal png size 1000,1000
set output 'iterative_solvers_plot.png'

set logscale xy

set ylabel "Laufzeit in Sekunden"
set xlabel "Matrixgröße"

set format y "%g"

plot 'richardson_1.dat' title "Richardson Iteration v1", \
     'richardson_2.dat' title "Richardson Iteration v2", \
     'jacobi_1.dat' title "Jacobi Iteration v1", \
     'jacobi_2.dat' title "Jacobi Iteration v2",\
     'gauss_seidel_1.dat' title "Gauss Seidel Iteration v1",\
     'gauss_seidel_2.dat' title "Gauss Seidel Iteration v2",\
     'linsolve_1.dat' title "hdnum::linsolve",\
     0.000000020*x**4 title "c n^4", \
     0.000000025*x**3 title "b n^3"
