Changeset 708 for trunk/examples/tools/VAbenchmark_graphs.py
- Timestamp:
- 02/12/10 16:02:09 (2 years ago)
- Files:
-
- 1 modified
-
trunk/examples/tools/VAbenchmark_graphs.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/tools/VAbenchmark_graphs.py
r705 r708 4 4 5 5 import pylab, sys 6 import numpy 6 7 from NeuroTools import signals, plotting 7 8 from matplotlib.backends.backend_agg import FigureCanvasAgg as FigureCanvas … … 69 70 70 71 # Plot membrane potential trace 71 allvdata = pylab.load("Results/VAbenchmark_%s_exc_%s_np%d.v" % (benchmark, simulator, num_nodes), comments='#')72 allvdata = numpy.loadtxt("Results/VAbenchmark_%s_exc_%s_np%d.v" % (benchmark, simulator, num_nodes), comments='#') 72 73 cell_ids = allvdata[:,1].astype(int) 73 74 allvdata = allvdata[:,0]
