Learn R Programming

SciencesPo (version 1.4.1)

theme_scipo: The SciPo Theme

Description

The scpo theme for using with ggplot2 objects.

Usage

theme_scipo(base_family = "", base_size = 11, strip_text_family = base_family, strip_text_size = 12, title_family = "", title_size = 18, title_margin = 10, margins = margin(10, 10, 10, 10), subtitle_family = "", subtitle_size = 12, subtitle_margin = 15, caption_family = "", caption_size = 9, caption_margin = 10, axis_title_family = subtitle_family, axis_title_size = 9, axis_title_just = "rt", grid = TRUE, axis = FALSE, ticks = FALSE)

Arguments

base_family
base font family
base_size
base font size
strip_text_family
facet label font family
strip_text_size
facet label text size
title_family
plot tilte family
title_size
plot title font size
title_margin
plot title margin
margins
plot margins
subtitle_family
plot subtitle family
subtitle_size
plot subtitle size
subtitle_margin
plot subtitle margin
caption_family
plot caption family
caption_size
plot caption size
caption_margin
plot caption margin
axis_title_family
axis title font family
axis_title_size
axis title font size
axis_title_just
axis title font justification blmcrt
grid
panel grid (TRUE, FALSE, or a combination of X, x, Y, y)
axis
axis TRUE, FALSE, [xy]
ticks
ticks

Value

The theme.

Examples

Run this code
# plot with small amount of padding
# qplot(1:10, (1:10)^2, color="green") + theme_scipo()

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

Run the code above in your browser using DataLab