Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Last revision Both sides next revision
summer_2018:vpython_tips [2021/06/24 16:01]
pwirving
summer_2018:vpython_tips [2021/06/24 16:02]
pwirving
Line 64: Line 64:
 </​code>​ </​code>​
  
-*/+/*
  
 There are a few ways to graph in python, but a common method is via gcurve. If the values you wish to plot are changing over time in a loop, be sure to put the plot command in the loop with them, and plot each point for each iteration of the loop.*/ There are a few ways to graph in python, but a common method is via gcurve. If the values you wish to plot are changing over time in a loop, be sure to put the plot command in the loop with them, and plot each point for each iteration of the loop.*/
Line 72: Line 72:
 </​code>​ </​code>​
  
-/*+*/
  
   * **Graphing** - One method of graphing involves using physutil, which is a library that needs to be imported. From there, the syntax is similar to gcurve. MUST use GlowScript 2.9 or lower; anything higher will not import properly.   * **Graphing** - One method of graphing involves using physutil, which is a library that needs to be imported. From there, the syntax is similar to gcurve. MUST use GlowScript 2.9 or lower; anything higher will not import properly.
  • summer_2018/vpython_tips.txt
  • Last modified: 2021/06/24 16:03
  • by pwirving