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:
parent
a08bca43d1
commit
9b0fe5b174
2 changed files with 4 additions and 2 deletions
|
@ -76,7 +76,9 @@ ax3d.scatter(*testpoint, z_center, color="green")
|
||||||
|
|
||||||
ax3d.plot_surface(X, Y, Z, color="lightgreen", alpha=0.4)
|
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")
|
fig1.savefig("../arbeit/images/vis2d1.pdf")
|
||||||
fig2.savefig("../arbeit/images/vis2d2.pdf")
|
fig2.savefig("../arbeit/images/vis2d2.pdf")
|
||||||
fig3.savefig("../arbeit/images/vis2d3.pdf")
|
fig3.savefig("../arbeit/images/vis2d3.pdf")
|
||||||
|
|
|
@ -45,6 +45,6 @@ testy = b + a * testpoint
|
||||||
|
|
||||||
ax2.plot(linex, liney, color="lightgreen", zorder=-2)
|
ax2.plot(linex, liney, color="lightgreen", zorder=-2)
|
||||||
ax2.scatter(testpoint, testy, color="green")
|
ax2.scatter(testpoint, testy, color="green")
|
||||||
|
plt.tight_layout()
|
||||||
plt.savefig("../arbeit/images/vis1d.pdf")
|
plt.savefig("../arbeit/images/vis1d.pdf")
|
||||||
plt.show()
|
plt.show()
|
||||||
|
|
Loading…
Reference in a new issue