theme_minimal_adapted: to be able to use the theme theme_minimal with some...

View source: R/graphicR.R

theme_minimal_adaptedR Documentation

to be able to use the theme theme_minimal with some adjustments

Description

to be able to use the theme theme_minimal with some adjustments

Usage

theme_minimal_adapted(
  base_size = 11,
  base_family = "",
  base_line_size = base_size/22,
  base_rect_size = base_size/22,
  xAxis = TRUE,
  yAxis = TRUE,
  showLegend = TRUE,
  legend.position = "bottom",
  gridLines = TRUE,
  gridLinesX = TRUE,
  gridLinesY = TRUE,
  titleSize = NA
)

Arguments

base_size

size of the lettering of axis, title etc

base_family

letter type of axis, title etc

base_line_size

width of gridlines, set to 0 for none

base_rect_size

width of axis lines, set to 0 for none

xAxis

if TRUE then display xAxis title

yAxis

if TRUE then display yAxis title

showLegend

if TRUE then show legend

legend.position

defines where to place the legend

gridLines

if TRUE then display gridlines

gridLinesX

if TRUE then display gridlines 'along' the x-axis

gridLinesY

if TRUE then display gridlines 'along' the y-axis

titleSize

if NA, use default title size, else use titleSize value

To be used as ggplot-object + theme_minimal_adapted()

Value

theme definition


BenBruyneel/BBPersonalR documentation built on Aug. 23, 2024, 8:28 p.m.