Skip to content
Prev 78610 / 398502 Next

square and points on the same figure

Sam R. Smith wrote:
Specify both (all) squares in the same call to symbols:

csr <-function(n=60){
x=runif(n)
y=runif(n)
f=cbind(x,y)
}
plot(csr())

symbols(x=c(0.5, 0.5), y=c(0.5, 0.5), squares=c(0.30,0.15), add=TRUE)