Differences

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

Link to this comparison view

cs190c:interactive_matplotlib [2008/02/28 01:31]
smittal created
cs190c:interactive_matplotlib [2008/02/29 10:34] (current)
smittal
Line 7: Line 7:
 <code python> <code python>
 import pylab import pylab
 +import visual
 pylab.ion() pylab.ion()
  
Line 15: Line 16:
     ys.append(x**2)     ys.append(x**2)
     pylab.plot(xs,​ ys, '​b-o'​)     pylab.plot(xs,​ ys, '​b-o'​)
 +    visual.rate(1)
 pylab.show() pylab.show()
 </​code>​ </​code>​
 
cs190c/interactive_matplotlib.txt ยท Last modified: 2008/02/29 10:34 by smittal
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki