Learn R Programming

ggthemes (version 2.1.0)

theme_calc: 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
base_family
base font family

Examples

Run this code
dsamp <- diamonds[sample(nrow(diamonds), 1000), ]
(d <- qplot(carat, price, data=dsamp, colour=clarity)
  + theme_calc()
  + scale_color_calc())
(d <- qplot(carat, price, data=dsamp, shape=cut)
 + theme_calc()
 + scale_shape_calc())

Run the code above in your browser using DataLab