This commit is contained in:
Cory Balaton 2023-10-22 14:32:29 +02:00
parent 58db1d9928
commit eab84f52e9
No known key found for this signature in database
GPG Key ID: 3E5FCEBFD80F432B

View File

@ -16,8 +16,8 @@ def main():
] ]
colors = [ colors = [
"lightskyblue", "lightskyblue",
"deepskyblue",
"salmon", "salmon",
"deepskyblue",
"darkred" "darkred"
] ]
ax = plt.figure().add_subplot(projection="3d") ax = plt.figure().add_subplot(projection="3d")
@ -31,6 +31,7 @@ def main():
ax.set_xlabel(r"x $(\mu m)$") ax.set_xlabel(r"x $(\mu m)$")
ax.set_ylabel(r"y $(\mu m)$") ax.set_ylabel(r"y $(\mu m)$")
ax.set_zlabel(r"z $(\mu m)$") ax.set_zlabel(r"z $(\mu m)$")
ax.view_init(10,45)
plt.title(r"2 particles with and without interactions.") plt.title(r"2 particles with and without interactions.")
plt.legend() plt.legend()
plt.savefig("../latex/images/3d_plot.pdf") plt.savefig("../latex/images/3d_plot.pdf")