I'd like to draw and animate some particles with matplotlib. Each point has a position and velocity. I am able to draw single frames using matplotlib quiver
.
But how can I update the quiver data for each frame? (I am using the matplotlib animation class.) I read about the (undocumented?) quiver.set_UVC()
, but that seems to update only the direction, not position. Is there any other way to do this?