Plots the mosaic "x"
.
Dashed lines are used for outer tiles of the mosaic.
# S3 method for voronoi
plot(x,add=FALSE,
xlim=c(min(x$tri$x)-
0.1*diff(range(x$tri$x)),
max(x$tri$x)+
0.1*diff(range(x$tri$x))),
ylim=c(min(x$tri$y)-
0.1*diff(range(x$tri$y)),
max(x$tri$y)+
0.1*diff(range(x$tri$y))),
all=FALSE,
do.points=TRUE,
main="Voronoi mosaic",
sub=deparse(substitute(x)),
isometric=TRUE,
...)
None
object of class "voronoi"
logical, if TRUE
, add to a current plot.
x plot ranges, by default modified to hide dummy points outside of the plot
y plot ranges, by default modified to hide dummy points outside of the plot
show all (including dummy points in the plot
logical, indicates if points should be plotted.
plot title
plot subtitle
generate an isometric plot (default TRUE
)
additional plot parameters
Albrecht Gebhardt <albrecht.gebhardt@aau.at>, Roger Bivand <roger.bivand@nhh.no>
voronoi
, print.voronoi
,
summary.voronoi
, plot.voronoi.polygons
data(franke)
tr <- tri.mesh(franke$ds3)
vr <- voronoi.mosaic(tr)
plot(tr)
plot(vr,add=TRUE)
Run the code above in your browser using DataLab