Description Usage Arguments Value Author(s) See Also Examples
uses locator to define zooming area
1 |
shp |
Shapefile Object. |
Time |
Duration of zooming (speed) in seconds.. DEFAULT:5 |
steps |
number of single zoomlevels. DEFAULT:2 |
... |
Further arguments passed to plot. |
None - only plots
Berry Boessenkool, berry-b@gmx.de, ca 2012
berryFunctions::pointZoom
for simple scatterplots. changeAttribute
and showAttribute
for more Shapefile-related operations
1 2 3 4 5 6 7 8 9 10 11 12 13 14 | ## Not run:
library(maptools) # for readShapeSpatial and dataset
xx <- readShapeLines(system.file("shapes/fylk-val.shp", package="maptools")[1],
proj4string=CRS("+proj=utm +zone=33 +datum=WGS84"))
windows(record=TRUE)
plot(xx)
shapeZoom(xx)
# With pgUp and Dn, you can zoom out again
plot(xx)
shapeZoom(xx, steps=8)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.