The segment below is supposed to plot two columns of (x,y) data and do it in an area 640x480. Apparently, I'm missing how to use v to get this done. It dies at col.axis(v) with list object has no attribute 'axis'. From looking at some MPL examples, it's not clear to me how one uses axis here. I might have needed axes, but that doesn't work either. Comments?
trk_stats = (amin, amax, mean, std, per_tile25, per_tile50, per_tile75)
fig = figure()
ax1 = fig.add_subplot(111)
v = (0, 640, 0, 480)
print "shapes: ", xy[:,0].shape, xy[:,1].shape
col = ax1.plot(xy[:,0], xy[:,1])
print "something for wtw plot"