Plot recognition rates function of the different parameters k, d, m, n