theme_calc | R Documentation |
Theme similar to the default settings of LibreOffice Calc charts.
theme_calc(base_size = 10, base_family = "sans")
base_size |
base font size, given in pts. |
base_family |
base font family |
## Not run:
library("ggplot2")
p <- ggplot(mtcars) +
geom_point(aes(x = wt, y = mpg, colour = factor(gear))) +
facet_wrap(~am) + theme_calc()
p + scale_color_calc()
q <- ggplot(mtcars) +
geom_point(aes(x = wt, y = mpg, shape = factor(gear))) +
facet_wrap(~am) +
theme_calc()
q + scale_shape_calc()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.