%plots LFP autocorrelation
function [waveCorr, time] = PlotAutoCorr4(wave, wave1);
%ADO1
[waveCorr,lags] = xcov(wave,500,'coeff');
figure
plot(lags, waveCorr); %axis([-0.1 0.1 -1 1]); %axis off;

%ADO9
[waveCorr1,lags] = xcov(wave1,500,'coeff');
figure
plot(lags, waveCorr1, ('r')); %axis([-0.1 0.1 -1 1]); %axis off;
