theme_farsh_fa: An opinionated ggplot2 theme based based on Persian carpet's...

Description Usage Arguments

View source: R/theme_farsh.R

Description

An opinionated ggplot2 theme based based on Persian carpet's colors (farsh means carpet in Persian) https://www.roozrang.com/%d8%b7%d8%b1%d8%a7%d8%ad%db%8c-%d9%87%d9%88%db%8c%d8%aa-%d8%a8%d8%b5%d8%b1%db%8c-%d8%af%d8%a7%db%8c%d9%86%d8%a7%d9%85%db%8c%da%a9-%d9%85%d9%88%d8%b2%d9%87-%d9%81%d8%b1%d8%b4-%d8%aa%d9%87%d8%b1%d8%a7/

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
theme_farsh_fa(
  base_font = "Vazir FD",
  base_size = 11.5,
  text_col = "#774936",
  plot_title_font = "Vazir Black FD",
  plot_title_size = 25,
  plot_title_face = "bold",
  plot_title_margin = 10,
  subtitle_font = base_font,
  subtitle_size = 20,
  subtitle_face = "plain",
  subtitle_margin = 15,
  strip_text_font = base_font,
  strip_text_size = 12,
  strip_text_face = "plain",
  caption_font = base_font,
  caption_size = 9,
  caption_face = "italic",
  caption_margin = 10,
  legend_font = "Vazir FD",
  legend_font_size = 10,
  legend_title_size = 12,
  legend_position = "top",
  axis_text_size = base_size,
  axis_title_font = subtitle_font,
  axis_title_size = 9,
  axis_title_face = "plain",
  plot_margin = margin(30, 30, 30, 30),
  grid_col = "#eddcd2",
  grid = TRUE,
  axis_col = "#eddcd2",
  axis = FALSE,
  ticks = FALSE
)

Arguments

ticks

mcnakhaee/delgosha documentation built on Oct. 18, 2020, 8:55 a.m.