This video shows how to make a scatter plot in VPython. How to make a line graph in VPython. How to make a graph of a function in VPython. How to make a graph of potential energy, kinetic energy, total energy and phase diagram in VPython. We have plotted the graph for three system, bouncing ball, mass-spring system and pendulum which have been explained in the previous articles.
http://techforcurious.website/simulation-of-bouncing-ball-vpython-tutorial-visual-python/
http://techforcurious.website/simulation-of-spring-mass-system-vpython-tutorial-visual-python/
http://techforcurious.website/simulation-of-pendulum-vpython-tutorial-visual-python/
The codes and detailed information can be found in the following article.
http://techforcurious.website/how-to-make-a-graph-of-potential-and-kinetic-energy-vpython-tutorial-visual-python
The codes have been uploaded on the glowscript website where you can run them online:
http://www.glowscript.org/#/user/techforcurious/folder/Graph/
Follow us on:
Facebook: https://www.facebook.com/techforcurious
Twitter: https://twitter.com/techforcurious
Website: http://techforcurious.website/