tripack (version 1.3-9)

plot.voronoi.polygons: plots an voronoi.polygons object

Description

plots an voronoi.polygons object

Usage

# S3 method for voronoi.polygons
plot(x, which, color=TRUE, ...)

Arguments

x

object of class voronoi.polygons

which

index vector selecting which polygons to plot

color

logical, determines if plot should be colored, default: TRUE

additional plot arguments

See Also

voronoi.polygons

Examples

Run this code
# NOT RUN {
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	     or do  help(data=index)  for the standard data sets.
data(tritest)
tritest.vm <- voronoi.mosaic(tritest$x,tritest$y)
tritest.vp <- voronoi.polygons(tritest.vm)
plot(tritest.vp)
plot(tritest.vp,which=c(1,3,5))
# }

Run the code above in your browser using DataLab