Skip to contents

Theme adjustments optimised for secondary axis text annotations

Usage

theme_sec_axis_text(
  axis = NULL,
  axis_ticks_to = "transparent",
  axis_line_to = "transparent",
  axis_text_to = "keep",
  axis_title_to = "keep"
)

Arguments

axis

Character. "x", "y", or NULL (defaults to both).

axis_ticks_to

Action for ticks: "transparent", "blank", or "keep".

axis_line_to

Action for lines: "transparent", "blank", or "keep".

axis_text_to

Action for text: "transparent", "blank", or "keep".

axis_title_to

Action for titles: "transparent", "blank", or "keep".

Value

A ggplot2 theme object.