powered by
Plots the minimum convex hull of a set of coordinates
PlotConvexHull(xcoord, ycoord, lcolor = "blue")
- Array of x-coordinates or longitudinal values
- Array of y-coordinates or latitudinal values
- String or integer value indicating the color of the convex hull boundary lines
Plots a minimum convex hull
longs<-c(20,20,40,40) lats<-c(-5,5,-5,5) PlotConvexHull(xcoord=longs,ycoord=lats)
Run the code above in your browser using DataLab