vizi-par: Set Graphical Parameters

vizi_styleR Documentation

Set Graphical Parameters

Description

Set global parameters for plotting vizi graphics.

Usage

## Set style and palettes
vizi_style(style = "light", dpal = "Tableau 10", cpal = "Viridis")

## Set plotting engine
vizi_engine(engine = c("base", "plotly"))

## Set graphical parameters
vizi_par(..., style = getOption("matter.vizi.style"))

Arguments

style

The visual style to use for plotting. Currently supported styles are "light", "dark", and "classic".

dpal, cpal

The name of discrete and continous color palettes. See palette.pals and hcl.pals.

engine

The plotting engine. Default is to use base graphics. Using "plotly" requires the plotly package to be installed.

...

These specify additional graphical parameters (as in par).

Value

A character vector or list with the current parameters.

Author(s)

Kylie A. Bemis

See Also

vizi


kuwisdelu/matter documentation built on May 11, 2024, 9:15 a.m.