rotated_facet_labels: Common plot modifications for stratigraphic plots

View source: R/ggstrat-themes.R

rotated_facet_labelsR Documentation

Common plot modifications for stratigraphic plots

Description

Common plot modifications for stratigraphic plots

Usage

rotated_facet_labels(
  angle = 45,
  direction = "x",
  remove_label_background = TRUE
)

rotated_axis_labels(angle = 90, direction = "x")

Arguments

angle

The angle at which labels should be rotated

direction

The axes along which the operations should be performed

remove_label_background

Whether or not label backgrounds should be removed along rotated label axes

Value

An object or list of objects that can be added to a ggplot

Examples

library(ggplot2)

ggplot(mpg, aes(cty, hwy)) +
  geom_point() +
  facet_wrap(vars(class)) +
  rotated_facet_labels(45, "x")


tidypaleo documentation built on Jan. 22, 2023, 1:13 a.m.