rggobi (version 2.1.22)

pmode: Projection mode

Description

Functions to get and set projection mode

Usage

pmode(x)

Arguments

x

GGobiDisplay object

Details

In GGobi, the projection mode determines the type of plot that is displayed. For example, a 1D ASH plot, or a 2D tour.

You can see the list of available projection modes using the pmodes function. This accepts either a GGobiDisplay, or the name of the display type.

Examples

Run this code
# NOT RUN {
if (interactive()) {
g <- ggobi(mtcars)
d <- displays(g)[[1]]
pmode(d)
pmodes(d)
pmode(d) <- "1D Plot"}
# }

Run the code above in your browser using DataLab