Compare sorting algorithms' performance: Difference between revisions

Content added Content deleted
m (→‎Write timings: - removed comment)
m (→‎Plot timings: p.variable --> polynom.variable)
Line 94: Line 94:
pylab.plot(x, y, colors[i % len(colors)], label= '_nolegend_')
pylab.plot(x, y, colors[i % len(colors)], label= '_nolegend_')
pylab.legend(loc='upper left')
pylab.legend(loc='upper left')
pylab.xlabel(p.variable)
pylab.xlabel(polynom.variable)
pylab.ylabel('log2( time in microseconds )')
pylab.ylabel('log2( time in microseconds )')
pylab.title(ttle, verticalalignment='bottom')
pylab.title(ttle, verticalalignment='bottom')