    for i = 2:N
        tmp = nanmean(ord(length(ord)-length(ord)/N*(N-i+1):length(ord)));
        if isnan(tmp)
            numplots = numplots-1;
        end
    end
