Plotting depences for KNN