makeTransparent: makes ggplots with transparent elements

View source: R/makeTransparent.R

makeTransparentR Documentation

makes ggplots with transparent elements

Description

makeTransparent is an extension to ggplots which makes all the elements of the plot transparent except the data being displayed. This is useful to superimpose multiple plots, e.g. to generate plots with multiple error bars for example.

Usage

makeTransparent()

Value

does not return anything; set the elements to transparent.

Examples


# make a basic plot
superb(len ~ dose + supp, ToothGrowth ) 
# make a basic plot with transparent elements
superb(len ~ dose + supp, ToothGrowth,  
  ) + makeTransparent()


dcousin3/superb documentation built on Oct. 29, 2024, 5:28 p.m.