viadeePlot: A function that styles a ggplot

Description Usage Arguments Examples

View source: R/viadeeTheme.R

Description

This function allows you give your plots a viadee background and some styling based on the economist theme. Ideally this is the first thing you do with your graph object, in order not to overpaint any content.

Usage

1
viadeePlot(graph, backgroundGradientColors = c("#DFAD47", "#7EBCA9"))

Arguments

graph

The graph to style.

backgroundGradientColors

The two colors that form a gradient in the background

Examples

1
viadeePlot(ggplot2::ggplot()) + ggplot2::geom_point()

fkoehne/viadeeDataViz documentation built on May 26, 2019, 4:41 p.m.