# plot.voronoi

0th

Percentile

##### Plot a voronoi object

Plots the mosaic "voronoi.obj".

Dashed lines are used for outer tiles of the mosaic.

##### Usage
plot(voronoi.obj, add=FALSE, do.points=T...)
##### Arguments
voronoi.obj
object of class "voronoi"
logical, if TRUE, add to a current plot.
do.points
logical, indicates if points should be plotted.
...

• None

##### References

R. J. Renka (1996). Algorithm 751: TRIPACK: a constrained two-dimensional {Delaunay} triangulation package. ACM Transactions on Mathematical Software. 22, 1-8.

voronoi, print.voronoi, summary.voronoi

• plot.voronoi
##### Examples
# generate a random mosaic
plot(voronoi.mosaic(runif(100),runif(100),duplicate="remove"))
# use a part of the quakes data set:
quakes.part<-quakes[(quakes[,1]<=-17 & quakes[,1]>=-19.0 &
quakes[,2]<=182.0 & quakes[,2]>=180.0),]
quakes.vm<-voronoi.mosaic(quakes.part$lon, quakes.part$lat, duplicate="remove")
plot(quakes.vm)
# use the whole quakes data set (will not work with standard memory settings)
plot(voronoi.mosaic(quakes$lon, quakes$lat, duplicate="remove"))
Documentation reproduced from package tripack, version 1.0-1, License: R functions: GPL, Fortran code: available at netlib

### Community examples

Looks like there are no examples yet.