plotwidgetGallery {plotwidgets} | R 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.
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))
[Package plotwidgets version 0.5.1 Index]