theme_blank: Create a Completely Empty Theme

Description Usage Arguments Value Author(s) Examples

Description

The theme created by this function shows nothing but the plot panel.

Usage

1
theme_blank(base_size = 12, base_family = "serif", legend = "none")

Arguments

base_size

overall font size. Default is 12.

base_family

a name for default font family.

legend

the legend position.

Value

The theme.

Author(s)

Daniel Marcelino [aut, cre]

Examples

1
2
3
4
5
6
7
8
# plot with small amount of remaining padding
qplot(1:10, (1:10)^2) + theme_blank()

# remaining padding removed
qplot(1:10, (1:10)^2) + theme_blank() + labs(x = NULL, y = NULL)

# Check that it is a complete theme
attr(theme_blank(), "complete")


SciencesPo documentation built on May 19, 2017, 8:16 p.m.
Search within the SciencesPo package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.