theme_no_axes: Theme without axes and gridlines

Description Usage Arguments Value Examples

View source: R/themes.R

Description

This theme is a simple wrapper around any complete theme that removes the axis text, title and ticks as well as the grid lines for plots where these have little meaning.

Usage

1
theme_no_axes(base.theme = theme_bw())

Arguments

base.theme

The theme to use as a base for the new theme. Defaults to ggplot2::theme_bw().

Value

A modified version of base.theme

Examples

1
2
3
4
p <- ggplot() + geom_point(aes(x = wt, y = qsec), data = mtcars)

p + theme_no_axes()
p + theme_no_axes(theme_grey())

YTLogos/ggforce documentation built on May 6, 2019, 4:37 p.m.