diff --git a/R/geom-text.R b/R/geom-text.R index b7f0d3f320..d12d133a75 100644 --- a/R/geom-text.R +++ b/R/geom-text.R @@ -31,8 +31,8 @@ #' #' @section Alignment: #' You can modify text alignment with the `vjust` and `hjust` -#' aesthetics. These can either be a number between 0 (right/bottom) and -#' 1 (top/left) or a character (`"left"`, `"middle"`, `"right"`, `"bottom"`, +#' aesthetics. These can either be a number between 0 (left/bottom) and +#' 1 (top/right) or a character (`"left"`, `"middle"`, `"right"`, `"bottom"`, #' `"center"`, `"top"`). There are two special alignments: `"inward"` and #' `"outward"`. Inward always aligns text towards the center, and outward #' aligns it away from the center. diff --git a/man/geom_text.Rd b/man/geom_text.Rd index 91c241ab4b..59bc7b8e69 100644 --- a/man/geom_text.Rd +++ b/man/geom_text.Rd @@ -209,8 +209,8 @@ the background colour of the label. \section{Alignment}{ You can modify text alignment with the \code{vjust} and \code{hjust} -aesthetics. These can either be a number between 0 (right/bottom) and -1 (top/left) or a character (\code{"left"}, \code{"middle"}, \code{"right"}, \code{"bottom"}, +aesthetics. These can either be a number between 0 (left/bottom) and +1 (top/right) or a character (\code{"left"}, \code{"middle"}, \code{"right"}, \code{"bottom"}, \code{"center"}, \code{"top"}). There are two special alignments: \code{"inward"} and \code{"outward"}. Inward always aligns text towards the center, and outward aligns it away from the center.