1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
#import eyes17.eyes          # uncomment these two lines while running stand-alone
#p = eyes17.eyes.open()

# Connect WG to A1

from pylab import *

def f1(x):                         #
return sin(x) + sin(3*x)/3

p.load_table(abs(arange(-256,256)))
p.set_wave(400)

x,y = p.capture1('A1', 500,10)
plot(x,y)
show()