plot_notitle: No Title Plots

View source: R/plots.R

plot_notitleR Documentation

No Title Plots

Description

This is a function that strips the plot of all its titles, including axis titles and legend titles.

Usage

plot_notitle(p)

Arguments

p

The plot that we will strip its titles of.

Examples

library(ggplot2)
p <- ggplot(diamonds, aes(depth, colour = cut)) +
  geom_density() +
  ggtitle("Diamonds")
plot_notitle(p)

sysilviakim/Kmisc documentation built on Jan. 28, 2023, 10:58 a.m.