Physics, Science, Programming, Deep Dives, Thoughts And Theory.
plt.plot(self.x_dynamics[0,0,:i+1],self.x_dynamics[0,1,:i+1],color="red",linewidth=1.,linestyle="-") #Plot a single molecule in red that is being tracked plt.scatter(self.x_dynamics[0,0,i],self.x_dynamics[0,1,i],color="red",s=20) #Plot the rest of the molecules