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)
|
||||
|
||||
|
||||
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")
|
||||
|
|
|
@ -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()
|
||||
|
|
Reference in a new issue