Learn R Programming

mapsf (version 1.2.0)

mf_frame: Plot a frame

Description

Plot a frame around an existing map.

Usage

mf_frame(extent = "map", col, lwd = 1.5, lty = 1, ...)

Value

No return value, a frame is displayed.

Arguments

extent

type of frame, either 'map' or 'figure'

col

line color

lwd

line width

lty

line type

...

other arguments from graphics::box()

Examples

Run this code
mtq <- mf_get_mtq()
mf_map(mtq)
mf_title()
mf_frame(extent = "map")
mf_map(mtq)
mf_title()
mf_frame(extent = "figure")

Run the code above in your browser using DataLab