| plot.tile.list {deldir} | R Documentation |
A method for plot. Plots (sequentially)
the tiles associated with each point in the set being tessellated.
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, ...)
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. |
NULL; side effect is a plot.
The default value for verbose was formerly TRUE;
it is now FALSE.
Rolf Turner
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)