Convex hull and clustering in plots