plot raster over other figures ( eg PSTH)

Version 1.0.1 (1.22 KB) by yu shi
combine response raster for single trial
63 Downloads
Updated 5 Jun 2020

View License

combine response raster for single trial
for m=1:ntrial
SpikeT=total_SpikeT{m};
Trial_id=m;
color=[1 0 0];
linewidth=2;
baseline=0;
Plot_Raster_eachTrial(SpikeT,ntrial,Trial_id,color,linewidth,baseline);
end

baseline use for plot raster over other plots

Cite As

yu shi (2026). plot raster over other figures ( eg PSTH) (https://www.mathworks.com/matlabcentral/fileexchange/76649-plot-raster-over-other-figures-eg-psth), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2014a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags
Version Published Release Notes
1.0.1

add example figure

1.0.0