If I need to get the indices of some plotted points on a figure
or axe
by using box selection like the following:
load cities
education = ratings(:,6);
arts = ratings(:,7);
plot(education,arts,'+')
How to get the indices of these points in the vector education
not from the x axis
?
I want the solution to be flexible not for this plot only. I want to get the indices of any set of points, using box selection.