theme_calc: Theme Calc

View source: R/calc.R

theme_calcR Documentation

Theme Calc

Description

Theme similar to the default settings of LibreOffice Calc charts.

Usage

theme_calc(base_size = 10, base_family = "sans")

Arguments

base_size

base font size, given in pts.

base_family

base font family

Examples

library("ggplot2")

ggplot(mtcars) +
  geom_point(aes(x = wt, y = mpg, colour = factor(gear))) +
  facet_wrap(~am) +
  theme_calc() +
  scale_color_calc()
## Not run: 
ggplot(mtcars) +
  geom_point(aes(x = wt, y = mpg, shape = factor(gear))) +
  facet_wrap(~am) +
  theme_calc() +
  scale_shape_calc()

## End(Not run)

ggthemes documentation built on May 29, 2024, 10:37 a.m.