Organising the chapter

This commit is contained in:
Danny Staple
2023-01-08 22:54:13 +00:00
parent f7695b4290
commit 68cfd39a19
17 changed files with 6 additions and 1 deletions
@@ -41,6 +41,9 @@ ax.arrow(*motion_line[0], *motion_line[1], color="red", width=5)
# plot the angles on top
# line from original cluster middle, going east.
ax.plot([250, 250+100], [300, 300], color="black")
# label plot axes with mm
ax.set_xlabel("mm")
ax.set_ylabel("mm")
angle = patches.Wedge((250, 300), 100, 0, motion_angle, width=20, color=(0.3, 0.3, 0.3, 0.3))
ax.add_patch(angle)
@@ -24,6 +24,8 @@ plt.plot((0, 0), [0, 1], color="black")
# plot m line in dashed blue
plt.plot((m, m), [0, 1], color="red", linestyle="--")
# label axes
plt.ylabel("Likelihood")
plt.xlabel("Distance (mm)")
plt.show()