load('FIG5c.mat') t = [1:size(ASAP3onepuff,2)] t = t-1600; t = t/803.3179; figure hold on temp4 = -ASAP3onepuff; ccc=temp4(:,1200:1400); confplot(t,nanmean(temp4,1)-nanmean(ccc(:)), nanstd(temp4,1)/sqrt(size(temp4,1)), nanstd(temp4,1)/sqrt(size(temp4,1))); hold on temp4 = SpikeyGionepuff; ccc=temp4(:,1200:1400); confplot(t,nanmean(temp4,1)-nanmean(ccc(:)), nanstd(temp4,1)/sqrt(size(temp4,1)), nanstd(temp4,1)/sqrt(size(temp4,1))); hold on temp4 = SpikeyGi2onepuff; ccc=temp4(:,1200:1400); confplot(t,nanmean(temp4,1)-nanmean(ccc(:)), nanstd(temp4,1)/sqrt(size(temp4,1)), nanstd(temp4,1)/sqrt(size(temp4,1))); xlim([-0.5 1])