plotRasters2

PURPOSE ^

enhanced version of plotRasters

SYNOPSIS ^

function [subplotSize] = plotRasters2(binsize,significanceLevel,figNr, plabel, timestampsOfCell, triallength, markerPos, testPeriods, varargin )

DESCRIPTION ^

enhanced version of plotRasters

plot raster with histogram and gaussian fit for an arbitrary number of
conditions

mandatory parameters:
markerPos(1): stimulus onset, markerPos(2): stimulus offset
testPeriods: same as markerPos, used for statistical tests
traillength: total trial length, incl before/after baseline period

possible parameters (supplied as key-value pairs):
normalizeToBaseline: 0 or 1. 1 means each raster is normalized to baseline individually
normalizeFactors: a vector of normalization factors, as many as there are rasters. normalizeToBaseline needs to be =0 if this is used
rasterLabels: cell array of strings, heading for each rasters
rasters: cell array of matrices (containing from-to timestamp pairs)
smoothKernelStd: default is 200
disableRasterPlot: if set, don't plot rasters, only histograms and fits

urut/aug05
revised urut/may06

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Wed 03-Oct-2007 12:29:38 by m2html © 2003