Description Usage Arguments See Also Examples
Create a ggplot with transparent background.
1 | theme_transparent(base_size = 12, base_family = "")
|
base_size |
base font size |
base_family |
base font family |
1 2 3 4 5 6 7 8 | # Create a scatter plot
sp <- ggscatter(iris, x = "Sepal.Length", y = "Sepal.Width",
color = "Species", palette = "jco",
size = 3, alpha = 0.6)
sp
# Transparent theme
sp + theme_transparent()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.