View source: R/makeTransparent.R
makeTransparent | R Documentation |
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.
makeTransparent()
does not return anything new; set the elements of the current plot to transparent.
# make a basic plot
superb(len ~ dose + supp, ToothGrowth )
# make a basic plot with transparent elements
superb(len ~ dose + supp, ToothGrowth) + makeTransparent()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.