xy_theme: Set a pleasing theme for graphs.

Description Usage Arguments Examples

View source: R/Graphics.R

Description

This function provides a graphical style that includes

Usage

1
2
3
4
5
6
xy_theme(
  base_size = 12,
  base_family = "",
  base_theme = ggplot2::theme_bw,
  label_colour = "gray50"
)

Arguments

base_size

the base font size for text elements. Default is 12.

base_family

the base font family. Default is an empty string ("").

base_theme

the base theme for ggplot2 graphics. Default is theme_by.

label_colour

the colour for labels. Default is "gray50".

Examples

1
2
3
4
5
library(ggplot2)
DF <- data.frame(x = seq(1, 10), y = seq(11,20))
ggplot(data = DF, mapping = aes(x = x, y = y)) +
  geom_point() +
  xy_theme()

MatthewHeun/MKHthemes documentation built on Sept. 3, 2020, 6:41 a.m.