r = cat(3,rawdata{:});
l = cat(2,labels{:});

for ch = 1:size(r,1)
    subplot(4,2,ch);
    errorbar([1:size(r,2)]/200*1000,mean(r(ch,:,find(l==0)),3),std(r(ch,:,find(l==0))/length(find(l==0))^0.5,[],3),'b');
    hold on;
    errorbar([1:size(r,2)]/200*1000,mean(r(ch,:,find(l==1)),3),std(r(ch,:,find(l==1))/length(find(l==0))^0.5,[],3),'r');
    ylabel(ChanNames{ch});
    set(gca,'XLim',[0 400]);
end
