Learn R Programming

plotbb (version 0.0.6)

set_bb_theme: set_bb_theme

Description

set bb_theme

Usage

set_bb_theme(theme)

Arguments

theme

bb_theme

Value

setting selected theme as default (has side effect and will affect other base plot)

Details

setting bb_theme for ordinary base plot command. It internally use par to set global graphic parameters. Users need to explictely call unset_bb_theme() to restore original setting.

Examples

Run this code
# NOT RUN {
library(plotbb)
set_bb_theme(bb_theme_deepblue)
bbplot(mtcars, bb_aes(mpg, disp, col=factor(cyl))) + bb_point(pch=19)
# }

Run the code above in your browser using DataLab