function plotAmpCumHist(amplitudes,col)

if vargin < 2
    col = [0 0 0];
end

bins = 0:1:max(amplitudes);
N = histc(amplitudes,bins)
keyboard

C = cumsum(N);
plot(bins,C/max(C)*100,'-k','LineWidth',3);

end
