I have a problem that I'm not able to solve without a huge effort...
I have a several sets of 10000 (X,Y) points and I need to identify for every set which points are lying within a space (below a drawing that can give the idea). At the moment I'm binning the X space covered by the surface, defining then the Ymax and Ymin and having a column for every X bin that checks if the Y coordinate of the point satisfy the condition to be within Ymin and Ymax.
Since I have 10 datasets and I'd like to increase the number of X bins (currently 10) this becomes not so flexible...
Is there any simpler function to identify the points within the surface?
defining the
I have a several sets of 10000 (X,Y) points and I need to identify for every set which points are lying within a space (below a drawing that can give the idea). At the moment I'm binning the X space covered by the surface, defining then the Ymax and Ymin and having a column for every X bin that checks if the Y coordinate of the point satisfy the condition to be within Ymin and Ymax.
Since I have 10 datasets and I'd like to increase the number of X bins (currently 10) this becomes not so flexible...
Is there any simpler function to identify the points within the surface?
defining the