theme_panel: Theme function for plot with multiple panels

View source: R/plot.R

theme_panelR Documentation

Theme function for plot with multiple panels

Description

Specifies theme for a plot with multiple panels.

Usage

theme_panel(show_text = TRUE, show_ticks = TRUE)

Arguments

show_text

A logical value that controls text display on the y axis. Default is TRUE.

show_ticks

A logical value that controls ticks display on the y axis. Default is TRUE.

Value

Theme for a specific panel.

Examples

library(ggplot2)

p <- ggplot(mpg, aes(displ, hwy, colour = class)) +
  geom_point()

p
p + theme_panel()

forestly documentation built on April 3, 2025, 7:48 p.m.