function temp_overlayerforshorttermfacil
%used to make one plot for the single-syn methods paper, the one showing that successful responses after shorter IPI are at least as likely as
%responses after longer IPIs

[r,peaks]=create_basic_text_file('patch20070319T125639',3);
psyn=r(:,2:3:end);      %the postsynaptic channel
psyn=psyn*100;
mp=mean(psyn);
psyn=psyn-repmat(mp,size(psyn,1),1);  %removing leak

a=load('~/dwn_data_analysis_system/extracted_values_dwn/patch20070319T125639__pre-postPSC');
a2=a(2,:);
fiddy=find(a2==50); fiddy(find(fiddy==12))=[]; %because trial 12 had the micropuff off
fourhun=find(a2==400);

p50=mean(psyn(:,fiddy)');
p400=mean(psyn(:,fourhun)');

close,figure,hold on
plot(p50(50950:52950),'k')

figure, hold on
p400gap=cat(2,p400([50950:51900]), repmat(nan,1,50), p400(55450:56450));
plot(p400gap,'r')
