plt_theme_x: ggplot2: A black and white theme without major grid lines in...

View source: R/plt_theme_x.r

plt_theme_xR Documentation

ggplot2: A black and white theme without major grid lines in the y axis

Description

A theme with no minor grids in both axes and no major grid lines in the y axis.

Usage

plt_theme_x(base_size = 14, base_family = "", margin = 0.35)

Arguments

base_size

A numeric single value (default = 14), that will be the base font size

base_family

A character single value (default = ”), that will be the base font family

margin

A numeric single value (default = 0.35), that will be the plot margin

Value

A ggplot2 object.

Examples


library(ggplot2)

plot <-
  ggplot(mtcars,aes(hp,drat))+
  geom_point()

plot

plot + plt_theme_x()


vbfelix/relper documentation built on Jan. 28, 2025, 12:15 p.m.