Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(6)  |  Call(6)  |  Derive(0)  |  Import(0)

src/h/e/Helmholtz-0.2.0/helmholtz/analysis/tools/examples/test_contrast_response.py   Helmholtz(Download)
            yfit = fit_curve.function(xfit)
 
            panel = curve_fig.next_panel()
            panel.plot1(xdata, ydata, 'bo', xfit, yfit, 'r-')
        curve_fig.save("/home/thierry/Benchmarks_Project/benchmarks/Results/simpleV1/test_contrast_response_curves.png")
            yfit = fit_curve.function(xfit)
 
            panel = curve_fig.next_panel()
            panel.plot1(xdata, ydata, 'bo', xfit, yfit, 'r-')
        curve_fig.save("/home/thierry/Benchmarks_Project/benchmarks/Results/simpleV1/test_contrast_response_curves_component.png")

src/h/e/Helmholtz-0.2.0/helmholtz/analysis/tools/examples/component_generator.py   Helmholtz(Download)
            yfit = fit_curve.function(xfit)
 
            panel = curve_fig.next_panel()
            panel.plot1(xdata, ydata, 'bo', xfit, yfit, 'r-')
        curve_fig.save("/home/thierry/Benchmarks_Project/benchmarks/Results/simpleV1/test_contrast_response_curves.png")
            yfit = fit_curve.function(xfit)
 
            panel = curve_fig.next_panel()
            panel.plot1(xdata, ydata, 'bo', xfit, yfit, 'r-')
        curve_fig.save("/home/thierry/Benchmarks_Project/benchmarks/Results/simpleV1/test_contrast_response_curves_component.png")

src/p/y/PyNN-HEAD/test/unsorted/test_synaptic_integration.py   PyNN(Download)
def plot_figure(spike_data, vm_data, model_parameters):
    fig = SimpleMultiplot(2, 1, xlabel="Time (ms)")
    panel = fig.next_panel()
    # plot Vm
    for sim_name, vm in vm_data.items():
        vm['post'].plot(display=panel, kwargs={'label': "post (%s)" % sim_name})
    panel.set_ylim(-90,-30)
    panel.legend(loc='upper right')
    # plot spikes
    panel = fig.next_panel()