plot raster over other figures ( eg PSTH)
Version 1.0.1 (1.22 KB) by
yu shi
combine response raster for single trial
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 LinuxTags
Discover Live Editor
Create scripts with code, output, and formatted text in a single executable document.