1
Fork 0

Changed axvline style on x plot

This commit is contained in:
Edgar P. Burkhart 2022-03-03 15:27:50 +01:00
parent 258e3731b6
commit 837172b84f
Signed by: edpibu
GPG key ID: 9833D3C5A25BD227

View file

@ -84,7 +84,7 @@ ax_r.grid()
fig_x, ax_x = plt.subplots() fig_x, ax_x = plt.subplots()
ax_x.plot(-botl[0, :], color='k') ax_x.plot(-botl[0, :], color='k')
ax_x.plot((dep-botl)[t == t0, :].T) ax_x.plot((dep-botl)[t == t0, :].T)
ax_x.axvline(x0) ax_x.axvline(x0, c='k', alpha=.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.grid() ax_x.grid()