plotwidgetGallery: A showcase of all plot types available in plotwidgets

View source: R/gallery.R

plotwidgetGalleryR Documentation

A showcase of all plot types available in plotwidgets

Description

A showcase of all plot types available in plotwidgets

Usage

plotwidgetGallery(theme = "default", pal = NULL, ...)

Arguments

theme

sets both the palette and a suitable bakckground (e.g. dark for "neon")

pal

color palette to use (a character vector with colors)

...

all subsequent parameters will be passed to the plotWidget() function.

Details

plotwidgetGallery() simply draws all available plot widgets on a single plot.

Gallery example

Value

Invisibly returns the example data used to generate the plots

Examples

plotwidgetGallery()
## automatically set black bg
plotwidgetGallery(theme="neon") 
## yuck, ugly:
plotwidgetGallery(pal=c("red", "#FF9900", "blue", "green", "cyan", "yellow"))
## much better:
plotwidgetGallery(pal=plotPals("pastel", alpha=0.8))

plotwidgets documentation built on May 10, 2022, 5:12 p.m.