Question: Is there a way to make odeplot to only keep the "current" value and erease the rest when using "frames"? (I want to plot a moving particle)

odeplot plots "paths", i. e. keeps the points at every time.

I want to see only the "current" position where the particle is in the frame. I want the animation to show the particle in movement, not the path it is drawing.

Thanks in advance.

Please Wait...