Learn R Programming

osmplotr (version 0.1-3)

add_axes: add_axes

Description

Adds axes to the internal region of an OSM plot.

Usage

add_axes(axis_col = "white", axis_ps = 8, axis_pos = c(0.01, 0.03))

Arguments

axis_col
Colour of axis (determines colour of all elements: lines, ticks, and labels)
axis_ps
Point size of axis font (default 8)
axis_pos
Relative positions of axes and labels (default=c(0.01,0.03))

Examples

Run this code
plot_osm_basemap (bbox=get_bbox (c (-0.15, 51.5, -0.1, 51.52)), col="gray20")
add_osm_objects (london$dat_BNR, col="gray40") # non-residential buildings
add_axes ()

Run the code above in your browser using DataLab