1
0
Fork 0
mirror of https://github.com/Findus23/collision-analyisis-and-interpolation.git synced 2024-09-19 15:13:50 +02:00

tight_layout()

This commit is contained in:
Lukas Winkler 2019-08-26 16:53:03 +02:00
parent a08bca43d1
commit 9b0fe5b174
Signed by: lukas
GPG key ID: 54DE4D798D244853
2 changed files with 4 additions and 2 deletions

View file

@ -76,7 +76,9 @@ ax3d.scatter(*testpoint, z_center, color="green")
ax3d.plot_surface(X, Y, Z, color="lightgreen", alpha=0.4)
fig1.tight_layout()
fig2.tight_layout()
fig3.tight_layout()
fig1.savefig("../arbeit/images/vis2d1.pdf")
fig2.savefig("../arbeit/images/vis2d2.pdf")
fig3.savefig("../arbeit/images/vis2d3.pdf")

View file

@ -45,6 +45,6 @@ testy = b + a * testpoint
ax2.plot(linex, liney, color="lightgreen", zorder=-2)
ax2.scatter(testpoint, testy, color="green")
plt.tight_layout()
plt.savefig("../arbeit/images/vis1d.pdf")
plt.show()