rggobi (version 2.1.22)

"colorscheme<-": Set active colour scheme.

Description

Specify the active color scheme in a GGobi instance or the session options.

Usage

"colorscheme<-"(x, value)

Arguments

x

GGobi object

value

colour scheme to make active

Value

The name of the previously active color scheme.

Details

This makes a particular color scheme active within a GGobi instance.

Examples

Run this code
# NOT RUN {
if (interactive()) {
g <- ggobi(mtcars)
colorscheme(g) <- "Set1 8"
colorscheme(g) <- 1}
# }

Run the code above in your browser using DataCamp Workspace