Learn R Programming

ggthemr (version 1.0.2)

swatch: Retrieve the swatch colours from a ggthemr object

Description

The swatch is the main set of colours used for plotting data in a ggplot2 plot. This definition excludes the colours used for the plot background, title/axis text, gridlines etc.

Usage

swatch()

Arguments

Examples

Run this code
ggthemr('dust')

Run the code above in your browser using DataLab