From 8cbf3bbbfa25c6d9db601054da6c2f09fabe53f5 Mon Sep 17 00:00:00 2001 From: rhijmans Date: Fri, 19 Jul 2024 21:16:30 -0700 Subject: [PATCH] m --- NEWS.md | 1 + man/add_mtext.Rd | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/NEWS.md b/NEWS.md index 177e2d0b5..91e355a35 100644 --- a/NEWS.md +++ b/NEWS.md @@ -24,6 +24,7 @@ - `map-region` returns the coordinates of the axes position of a map created with `plot` [https://github.com/rspatial/terra/issues/1517](https://github.com/rspatial/terra/issues/1517) by Daniel Schuch - `polys` method [#1543](https://github.com/rspatial/terra/issues/1543) by Márcia Barbosa - `plot` method [#1532](https://github.com/rspatial/terra/issues/1532) by jedgroev +- `add_mtext` to add text around the margins of a map. [#1567](https://github.com/rspatial/terra/issues/1567) by Daniel Schuch # version 1.7-78 diff --git a/man/add_mtext.Rd b/man/add_mtext.Rd index b45ec2fdf..10d0d2060 100644 --- a/man/add_mtext.Rd +++ b/man/add_mtext.Rd @@ -14,8 +14,8 @@ add_mtext(text, side=3, line=0, ...) \arguments{ \item{text}{character or expression vector specifying the text to be written} - \side{side} integer indicating the margin to use (1=bottom, 2=left, 3=top, 4=right). - \side{line} numeric to move the text in or outwards. + \item{side}{ integer indicating the margin to use (1=bottom, 2=left, 3=top, 4=right)} + \item{line}{ numeric to move the text in or outwards.} \item{...}{arguments passed to \code{\link{text}}} }