Skip to content

Function: addEventPlot() ​

ts
function addEventPlot(plot, opts): PatchesLayer;

Defined in: stats/charts.ts:273

An event raster (matplotlib's eventplot): one row of tick marks per series — spike trains, arrival times, anything where when matters and magnitude does not. Ticks are thin quads, so one layer covers every row.

Parameters ​

ParameterType
plotPlot
optsEventPlotOptions

Returns ​

PatchesLayer

MIT licensed. WebGL2 required.