| theme_xf | R Documentation | 
Theme for ggplot
theme_xf(
  base_family = "Open Sans",
  base_size = 11.5,
  plot_title_family = base_family,
  plot_title_size = 16,
  plot_title_face = "plain",
  plot_title_margin = 4,
  subtitle_family = "Open Sans",
  subtitle_size = 12,
  subtitle_face = "plain",
  subtitle_margin = 15,
  strip_text_family = base_family,
  strip_text_size = 12,
  strip_text_face = "plain",
  caption_family = "Open Sans",
  caption_size = 9,
  caption_face = "italic",
  caption_margin = 10,
  axis_title_family = base_family,
  axis_title_size = 13,
  axis_title_face = "plain",
  axis_title_just = "rt",
  plot_margin = ggplot2::margin(10, 10, 10, 10),
  panel_spacing = ggplot2::unit(0.5, "lines"),
  grid_col = "#cccccc",
  grid = TRUE,
  axis_col = "#cccccc",
  axis = FALSE,
  ticks = FALSE
)
base_family | 
 Font family  | 
base_size | 
 base size  | 
plot_title_family | 
 title font family  | 
plot_title_size | 
 title size  | 
plot_title_face | 
 title face  | 
plot_title_margin | 
 title margin  | 
subtitle_family | 
 subtitle family  | 
subtitle_size | 
 subtitle size  | 
subtitle_face | 
 subtitle face  | 
subtitle_margin | 
 subtitle margin  | 
strip_text_family | 
 strip text family  | 
strip_text_size | 
 strip text font size  | 
strip_text_face | 
 strip text font face  | 
caption_family | 
 family  | 
caption_size | 
 size  | 
caption_face | 
 face  | 
caption_margin | 
 margin  | 
axis_title_family | 
 family  | 
axis_title_size | 
 size  | 
axis_title_face | 
 face  | 
axis_title_just | 
 justification  | 
plot_margin | 
 margin  | 
panel_spacing | 
 spacing  | 
grid_col | 
 grid  | 
grid | 
 grid  | 
axis_col | 
 axis  | 
axis | 
 axis  | 
ticks | 
 ticks  | 
re-themed ggplot graph
## Not run: 
ggplot(mtcars, aes(x = mpg, y = hp)) +
geom_point() +
theme_xf
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.