annotate_axis_line: Annotated axis line segment

View source: R/annotate_axis.R

annotate_axis_lineR Documentation

Annotated axis line segment

Description

Replace axis line with an annotated segment.

Usage

annotate_axis_line(position, ..., colour = NULL, linewidth = NULL)

Arguments

position

The position of the axis. One of "bottom", "top", "left", or "right".

...

Extra parameters passed to ggplot2::annotate("segment", ...).

colour

The colour of the annotated segment. Inherits from the current theme axis.line etc.

linewidth

The linewidth of the annotated segment. Inherits from the current theme axis.line etc.

Value

A list of a annotate layer and theme elements.


davidhodge931/ggblanket documentation built on July 3, 2025, 9:53 p.m.