for i = 1:length(cc.CCG_rest(ismember(cc.cels,[22 23],'rows'),:))
   
        figure('visible','off')
    bar(cc.CCG_rest(i,:))
     title(['Cell ' num2str(cc.cels(1)) ' to ' num2str(cc.cels(2))])
      print(gcf, '-dpsc2','cross_corr.ps' ,'-append')
        close(h)
        
        end