theme: Motif

Description Usage Arguments Examples

Description

Customise the chart motif.

Usage

1
2
3

Arguments

g2

An object of class g2r as returned by g2r.

...

Motif options.

Examples

1
2
3
4
5
6
g <- g2(iris, asp(Sepal.Length, Sepal.Width)) %>% 
  fig_point(asp(color = Species)) 

g %>% motif_dark()

g %>% custom_motif(colors = c("red", "green", "blue"))

JohnCoene/g2r documentation built on March 6, 2021, 8:11 p.m.