plot.tile.list {deldir}R Documentation

Plot Dirchlet/Voronoi tiles

Description

A method for plot. Plots (sequentially) the tiles associated with each point in the set being tessellated.

Usage

plot.tile.list(x, verbose = FALSE, close=FALSE, pch=1, polycol=NA,
               showpoints=TRUE, ...)
## S3 method for class 'tile.list':
plot(x, verbose = FALSE, close=FALSE, pch=1,
                         polycol=NA, showpoints=TRUE, ...)

Arguments

x A list of the tiles in a tessellation, as produced the function tile.list().
verbose Logical scalar; if TRUE the tiles are plotted one at a time (with a ``Go?'' prompt after each) so that the process can be watched.
close Logical scalar; if TRUE the outer edges of of the tiles (i.e. the edges of the enclosing rectangle) are drawn. Otherwise tiles on the periphery of the tessellation are left ``open''.
pch The plotting character for plotting the points of the pattern which was tessellated. Ignored if showpoints is FALSE.
polycol Optional vector of integers (or NAs); the i-th entry indicates with which colour to fill the i-th tile. Note that an NA indicates the use of no colour at all.
showpoints Logical scalar; if TRUE the points of the pattern which was tesselated are plotted.
... Optional arguments; not used. There for consistency with the generic plot function.

Value

NULL; side effect is a plot.

Warning

The default value for verbose was formerly TRUE; it is now FALSE.

Author(s)

Rolf Turner

See Also

tile.list()

Examples

        x <- runif(20)
        y <- runif(20)
        z <- deldir(x,y,rw=c(0,1,0,1))
        w <- tile.list(z)
        plot(w)
        ccc <- rep(2:5,5)
        plot(w,polycol=ccc,close=TRUE)

[Package deldir version 0.0-5 Index]