


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
