1
Fork 0

Fixed t plot in post

This commit is contained in:
Edgar P. Burkhart 2022-03-03 16:12:19 +01:00
parent b73f81c4ea
commit 2a2793f92e
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -76,7 +76,7 @@ ax_r.grid()
fig_x, ax_x = plt.subplots()
ax_x.plot(-data["botl"], color="k")
ax_x.plot(data["dep"][t == t0, :] - data["botl"])
ax_x.plot(data["dep"][np.argmin(np.abs(t - t0)), :] - data["botl"])
ax_x.axvline(x0, c="k", alpha=0.2)
ax_x.set(xlabel="x (m)", ylabel="z (m)")
ax_x.autoscale(axis="x", tight=True)