bionet.utils.plotting.plot_raster

bionet.utils.plotting.plot_raster(ts_list, plot_stems=True, plot_axes=True, marker='.', markersize=5, fig_title='', file_name='')

Plot several time sequences as a raster.

Parameters:

ts_list : list of ndarrays

Time sequences to plot.

plot_stems : bool

Show stems for all events.

plot_axes : bool

Show horizontal axes for all sequences.

marker : char

Marker symbol.

markersize : int

Marker symbol size.

fig_title : string

Plot title.

file_name : string

File in which to save the plot.