pointZoom(x, y=NA, z=NA, Time=1, steps=30, las=1, colp=FALSE,
xlab=substitute(x), ylab=substitute(y), notify=TRUE, ...)
par
. DEFAULT: 1colPoints
when zooming? DEFAULT: FALSEplot
. DEFAULT: substitute(x)shapeZoom
, colPoints
, locator
## Examples rely on locator, so can't be checked in non-interactive R use.
a <- rnorm(90); b <- rexp(90)
windows(record=TRUE) # turn recording on
plot(a,b, las=1)
pointZoom(a,b)
# now scroll through the plots (Pg Up and Pg Dn) to unzoom again.
d <- data.frame(a,b)
class(d)
plot(d)
pointZoom(d)
Run the code above in your browser using DataLab