## Examples rely on locator, so can't be checked in non-interactive R use.
## Not run:
# ## Rcmd check --as-cran doesn't like to open external devices,
# ## so this example is excluded from running in the checks.
# a <- rnorm(90); b <- rexp(90)
# windows(record=TRUE) # turn recording on
# plot(a,b, las=1)
# pointZoom(a,b, col=2, expr="abline(v=0)")
# # now scroll through the plots (Pg Up and Pg Dn) to unzoom again.
#
# d <- data.frame(a,b)
# class(d)
# plot(d)
# pointZoom(d)
# ## End(Not run)
Run the code above in your browser using DataLab