Spike Toolbox

STPlotRaster
Make a raster plot of the spike train

Syntax
<[hFigure]> = STPlotRaster(stTrain) <[hFigure]> = STPlotRaster(stTrain, <PlotOptions ...>) <[hFigure]> = STPlotRaster(stTrain, strLevel) <[hFigure]> = STPlotRaster(stTrain, strLevel, <PlotOptions ...>)

Description
stTrain is either an instantiated or mapped spike train. A raster plot will be created in the current figure (or a new figure created) showing the spike train. strLevel can be used to specify the spike train level to plot, and must be one of {instance, mapping}.

The optional return argument hFigure will return the handle of the new figure created.

If variable argument list PlotOptions is supplied, these will be passed to the matlab plot function. These arguments take the same format described in the documentation for plot.

See Also
Plotting functions


$Id: STPlotRaster.html 2569 2005-11-22 14:04:02Z dylan $