geozoom: Zoom into plots.

Description Usage Value Side Effects See Also Examples

View source: R/geozoom.R

Description

Zoom into current geoplot, redraws current geoplot with area defined by user. The current plot can be restored by using geodezoom.

Usage

1

Value

none.

Side Effects

The last call to geoplot is recalled with different borders for x and y.

See Also

geoplot, geodezoom.

Examples

1
2
3
4
5
6
7
8
    geoplot()
    geozoom()
    # Click with mouse as when placing legend i.e. first place the
    # mouse where the upper left corner is supposed to be and click
    # once, then move to where the lower right corner is supposed to
    # be and also press once.
    geodezoom()
    # Return to previous plot, here geoplot().

Example output

Loading required package: maps
Loading required package: mapdata
[[1]]
geoplot()

$zoom
[1] 123

geo documentation built on May 2, 2019, 5:22 p.m.