Stuff
This commit is contained in:
parent
58db1d9928
commit
eab84f52e9
@ -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")
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user