plot raster over other figures ( eg PSTH)

combine response raster for single trial

You are now following this Submission

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 .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.1

add example figure

1.0.0