https://devhubby.com/thread/how-to-plot-knn-in-matlab