Spike Toolbox

STPlot2D
Make a 2D plot of the mean frequency over a time interval of each pixel in a 2D array

Syntax
[mMeanFreq, tISI] = STPlot2D(stTrain) [mMeanFreq, tISI] = STPlot2D(stTrain, bRaster, bBar, bPlot, bHist) [mMeanFreq, tISI] = STPlot2D(stTrain, bRaster, bBar, bPlot, bHist, tBin_0, tBin_f)

Description
stTrain is a mapped spike train. If bRaster = true a raster plot is created, with a bar with the mean freq for each neuron on the right side If bPlot = true a imagesc type of plot will be created in the current axes (or a new figure created) showing the mean frequency of each pixel over the entire spike train duration. If bPlot = false, the figure is not created and the function will return the mean frequency of each pixel and the ISI vector for each pixel; If bHist = true the histogram of the ISI distribution is plotted. If not specified all the plots and the histogram are created.

See Also
Plotting functions


$Id: STPlot2D.html 1783 2005-08-31 21:05:51Z dylan $