1
Fork 0

Removed 0-division

This commit is contained in:
Edgar P. Burkhart 2022-03-04 11:13:07 +01:00
parent 339413501c
commit 5140714c71
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -70,7 +70,7 @@ fig.tight_layout()
fig_r, ax_r = plt.subplots()
ax_r.plot(1/phi_eta[0], R)
ax_r.plot(1 / phi_eta[0, 1:], R[1:])
ax_r.autoscale(axis="x", tight=True)
ax_r.set(ylim=(0, 1), xlabel="t (s)", ylabel="R")
ax_r.grid()