theme_csd | R Documentation |
A standard theme to use for plots generated by this package.
theme_csd( base_size = 14, base_family = "sans", base_line_size = base_size/18, base_rect_size = base_size/9, aspect_square = TRUE, border = TRUE )
base_size |
|
base_family |
|
base_line_size |
|
base_rect_size |
|
aspect_square |
|
border |
|
Returns a theme object.
set.seed(11) library(ggplot2) df <- diamonds[sample(nrow(diamonds), 1000), ] ggplot(df, aes(x = price, y = carat)) + geom_point() + theme_csd()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.