Lines Matching refs:pylab
11 import pylab
47 bounces = pylab.array([(x.loops, x.rawtime) for x in r if x.test == 'bounce'])
48 fit = pylab.polyfit(bounces[:,0], bounces[:,1], 1)
58 delta = pylab.polyval(fit, [r1.loops])
81 V = pylab.array([(x.size, getattr(x, field)) for x in v])
90 pylab.scatter(V[:,0], V[:,1]/scale, label=variant)
91 pylab.plot(V[:,0], V[:,1]/scale)
93 pylab.plot(V[:,0], V[:,1]/scale, label=variant,
101 pylab.legend(loc='lower right', ncol=2, prop={'size': 'small'})
102 pylab.xlabel('Block size (B)')
103 pylab.ylabel(ylabel)
104 pylab.title('%s %s' % (test, field))
105 pylab.grid()
107 pylab.savefig('%s-%s.png' % (test, field), dpi=100)
108 pylab.semilogx(basex=2)
109 pylab.savefig('%s-%s-semilog.png' % (test, field), dpi=100)
110 pylab.clf()