1
Fork 0

Make x plot usable

This commit is contained in:
Edgar P. Burkhart 2022-03-30 14:38:51 +02:00
parent 11147ce483
commit 4bdbfbde31
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -143,7 +143,7 @@ ax_r.legend(loc="upper left")
ax_fft.legend(loc="upper right") ax_fft.legend(loc="upper right")
fig_r.tight_layout() fig_r.tight_layout()
fig_x, ax_x = plt.subplots(figsize=(10, 1)) fig_x, ax_x = plt.subplots()
ax_x.plot(x, -botl, color="k") ax_x.plot(x, -botl, color="k")
ax_x.plot( ax_x.plot(
x, x,
@ -159,7 +159,6 @@ if config.has_option("post", "compare"):
ax_x.axvline(x0, c="k", alpha=0.2) ax_x.axvline(x0, c="k", alpha=0.2)
ax_x.set(xlabel="x (m)", ylabel="z (m)") ax_x.set(xlabel="x (m)", ylabel="z (m)")
ax_x.autoscale(axis="x", tight=True) ax_x.autoscale(axis="x", tight=True)
ax_x.set(aspect="equal")
fig_x.tight_layout() fig_x.tight_layout()
out = pathlib.Path(config.get("post", "out")).joinpath(f"t{t0}x{x0}") out = pathlib.Path(config.get("post", "out")).joinpath(f"t{t0}x{x0}")