Attaching benchmark.

from numpy.random import rand
import matplotlib
from matplotlib.pyplot import pcolor, savefig, show, ion, axis, draw, axes
import time

ion()

t = time.clock()
pcolor(rand(1000,100))
print "init: ", time.clock() - t

frames = 25.0
t = time.clock()
for i in xrange(int(frames)):
    part = (1.0 - (i / frames) / 2.0)
    axes().set_ylim((0.0, 1000.0 * part))
    draw()
print "fps:", frames / (time.clock() - t)

# show()

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Matplotlib-devel mailing list
Matplotlib-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-devel

Reply via email to