## S3 method for class 'deldir':
plot(x,add=FALSE,wlines=c('both','triang','tess'),
wpoints=c('both','real','dummy','none'),
number=FALSE,cex=1,nex=1,col=NULL,lty=NULL,
pch=NULL,xlim=NULL,ylim=NULL,xlab='x',ylab='y',
showrect=FALSE,...)
FALSE
; if TRUE
then the
points plotted will be labelled with their index numbers
(corresponding to the row numbers of the matrix "summary" in the
output of deldir).TRUE
.x
. Ignored if
add=TRUE
.y
. Ignored if
add=TRUE
.rw
(see
deldir()
) be plotted?plot()
segments()
or points()
. Unlikely to be used.deldir()
try <- deldir(x,y,list(ndx=2,ndy=2),c(0,10,0,10))
plot(try)
#
deldir(x,y,list(ndx=4,ndy=4),plot=TRUE,add=TRUE,wl='te',
col=c(1,1,2,3,4),num=TRUE)
# Plots the tesselation, but does not save the results.
try <- deldir(x,y,list(ndx=2,ndy=2),c(0,10,0,10),plot=TRUE,wl='tr',
wp='n')
# Plots the triangulation, but not the points, and saves the
# returned structure.
Run the code above in your browser using DataLab