Coryab/code #10

Merged
coryab merged 37 commits from coryab/code into develop 2023-10-24 10:45:33 +00:00
Showing only changes of commit eab84f52e9 - Show all commits

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")