theme_fmx: theme_fmx

View source: R/theme_fmx.R

theme_fmxR Documentation

theme_fmx

Description

Plotting theme for ggplot: with boundary

Usage

theme_fmx(
  base.size = 15,
  title.size = 14,
  subtitle.size = 12,
  caption.size = 9,
  legend.size = 10,
  axis.size.title = 10,
  axis.size = 10,
  strip.size = 10,
  legend.pos = "bottom",
  grid_Col = "#F0EFEF",
  Strip_Col = "#DDE1EE",
  CustomCaption = FALSE,
  CaptionColor = "#606060",
  FontType = "sans"
)

Arguments

FontType

Check available fonts using: windowsFonts()

Value

plot theme

Examples

g + theme_fmx(title.size = ggpts(35), axis.size.title = ggpts(35), grid_Col = "#FFFFFF") # Remove grids
g + theme_fmx(title.size = ggpts(35), axis.size.title = ggpts(35))

# Custom Caption used as:
#   labs(caption= "First~line \n italic('and a second,')~bold('fancy one') \n 'also,'~integral(f(x)*dx, a, b)~'for good measure'")
# Bold and italics work from second line...

Nicktz/fmxdat documentation built on Aug. 25, 2024, 10:18 a.m.