Learn R Programming

g2r (version 0.1.0)

theme: Motif

Description

Customise the chart motif.

Usage

motif_dark(g2)

custom_motif(g2, ...)

Arguments

g2

An object of class g2r as returned by g2r.

...

Motif options.

Examples

Run this code
# NOT RUN {
g <- g2(iris, asp(Sepal.Length, Sepal.Width)) %>% 
  fig_point(asp(color = Species)) 

g %>% motif_dark()

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

# }

Run the code above in your browser using DataLab