[Matplotlib-users] Animating 3D quiver plot in 1.4.3?
plottingberra
isabellahuang7 at gmail.com
Thu Sep 17 10:38:03 CEST 2015
Hello!
I want to create a 3D animation that animates the trajectory of a flying
object. The FuncAnimation object has been really helpful in doing so, but
now I want to plot an arrow (using the Quiver class) depicting the
acceleration vector at the object's position in its path.
My key problem is that I only want exactly one arrow on the plot at a time.
Currently I am able to create an animated trail of arrows, but I want to
clear the arrows that were plotted before a certain time t. I know that
there exists a method set_UVC that allows for this sort of data updating,
but I cannot get it to work for the 3D case.
Alternatively, I tried searching for a method that clears the entire quiver
plot (inelegant, but should work for my loop), but was unsuccessful in
finding one that works.
I'd like to ask, then:
1. Is there a way of making set_UVC work for my 3D case?
2. What is the proper way to clear a quiver plot?
Thank you so much!
--
View this message in context: http://matplotlib.1069221.n5.nabble.com/Animating-3D-quiver-plot-in-1-4-3-tp46181.html
Sent from the matplotlib - users mailing list archive at Nabble.com.
More information about the Matplotlib-users
mailing list