A showcase of all plot types available in plotwidgets

Share:

Description

A showcase of all plot types available in plotwidgets

Usage

1
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

1
2
3
4
5
6
7
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))