Customise the chart motif.

motif_dark(g2)

custom_motif(g2, ...)

Arguments

g2

An object of class g2r as returned by g2r.

...

Motif options.

Examples

g <- g2(iris, asp(Sepal.Length, Sepal.Width)) %>% fig_point(asp(color = Species)) g %>% motif_dark() g %>% custom_motif(colors = c("red", "green", "blue"))