mf_frame: Plot a frame

View source: R/mf_frame.R

mf_frameR Documentation

Plot a frame

Description

Plot a frame around an existing map.

Usage

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

Arguments

extent

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

col

line color, hex code or color name given by colors. The default color is the highlight color (see mf_theme).

lwd

line width

lty

line type

...

other arguments from graphics::box()

Value

No return value, a frame is displayed.

Examples

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

mapsf documentation built on Oct. 9, 2026, 5:07 p.m.