raster (version 1.1.7)

zoom: Zoom in on a plot

Description

Zoom in on a plot (map) by providing a new extent, by default this is done by clicking twice on the map

Usage

zoom(x, ...)

Arguments

x
Raster* object
...
Additional arguments. See Details

Value

  • An extent object (invisibly)

Details

A full call (with the default values) to zoom is zoom(x, extent=drawExtent(), maxpixels=100000, layer=1, new=TRUE, ...) rll{ x a RasterLayer object extent Extent object maxpixels Maximum number of pixels used for the map layer Positive integer to select the layer to be used if x is a mutilayer Raster object new Logical. If TRUE, the zoomed in map will appear on a new device (window) }

See Also

drawExtent, plot