Learn R Programming

forestly (version 0.1.2)

theme_panel: 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)

Value

Theme for a specific panel.

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.

Examples

Run this code
library(ggplot2)

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

p
p + theme_panel()

Run the code above in your browser using DataLab