Include nstep

This commit is contained in:
Janita Willumsen 2023-09-12 22:29:14 +02:00
parent d1796b6b01
commit 93f534c9fa
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ def main():
fig_a, ax_a = plt.subplots()
fig_b, ax_b = plt.subplots()
fig_c, ax_c = plt.subplots()
for i in range(6):
for i in range(7):
x = []
abs_err = []
rel_err = []

View File

@ -14,7 +14,7 @@ def main():
gen_alg.append(float(gen_i))
spec_alg.append(float(spec_i))
ax.plot(x, gen_alg, label=f"General algorithm")
ax.plot(x, gen_alg, label=f"General algorithm")
ax.plot(x, spec_alg, label=f"Special algorithm")
ax.legend()