Saturday, August 21, 2010

Drawing two-dimensional convex hulls with R.

Our convex hull drawing generation page, accessible at rplotpage/chull calls the chull plotting function of R.
The convec hull of a set S of two-dimensional points is a subset of S forming the
coordinates of the a convex polynomial enclosing all other points of S.

Here is a sample convex hull drawing using R.


As usual, the reader can specify the size of the plot (default is 6" by 6"). Data is always read as a sequence of (x,y) data pairs.

No comments:

Post a Comment