Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

setColors

Set the Graphics Palette and Default Colors


Description

Sets the color palette (used when a col= has a numeric index) to a given vector of colors, and also sets the graphics parameters (see par) col, col.axis, col.lab, col.main, col.sub and fg to colors[1].

Usage

setColors(colors)

Arguments

colors

a character vector

Value

The new color palette.

See Also


tis

Time Indexes and Time Indexed Series

v1.38
Unlimited
Authors
Jeff Hallman <jeffhallman@gmail.com>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.