The following is the 6th program of VPython, demonstrating to plot a graph for the animation. I know you can hardly read the code, to have a better viewing experience, please choose Full Screen at the upper left hand corner.
Actually, this is the extension of the previous episode that I used circular motion as example to plot the graph, so I mostly use the previous code for this episode.
Firstly,