Include nstep
This commit is contained in:
parent
d1796b6b01
commit
93f534c9fa
@ -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 = []
|
||||
|
||||
@ -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()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user