-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy paththemes.R
62 lines (57 loc) · 1.88 KB
/
themes.R
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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
### Plots ###
theme_blank_with_legend = list(
theme(
panel.border = element_blank(),
axis.line = element_line(color = "black"),
panel.grid.major.x = element_blank(),
panel.grid.minor.x = element_blank(),
panel.background = element_blank(),
axis.title = element_text(size = 14),
axis.text = element_text(size = 12),
strip.text.x = element_text(size = 12),
legend.text = element_text(size = 14),
legend.title = element_text(size = 12),
legend.position = "top",
legend.direction = "horizontal"
)
)
theme_grids_with_legend = list(
theme(
panel.grid = element_line(color = rgb(0, 0, 0, 66, maxColorValue = 255)),
axis.line = element_line(color = "black"),
axis.title = element_text(size = 14),
axis.text = element_text(size = 12),
strip.text.x = element_text(size = 12),
legend.text = element_text(size = 14),
legend.title = element_text(size = 12),
legend.position = "top"
)
)
theme_blank_with_legend_large = list(
theme(
panel.border = element_blank(),
axis.line = element_line(color = "black"),
panel.grid.major.x = element_blank(),
panel.grid.minor.x = element_blank(),
panel.background = element_blank(),
axis.title = element_text(size = 18),
axis.text = element_text(size = 16),
strip.text.x = element_text(size = 16),
legend.text = element_text(size = 18),
legend.title = element_text(size = 16),
legend.position = "top",
legend.direction = "horizontal"
)
)
theme_grids_with_legend_large = list(
theme(
panel.grid = element_line(color = rgb(0, 0, 0, 66, maxColorValue = 255)),
axis.line = element_line(color = "black"),
axis.title = element_text(size = 18),
axis.text = element_text(size = 16),
strip.text.x = element_text(size = 16),
legend.text = element_text(size = 18),
legend.title = element_text(size = 16),
legend.position = "top"
)
)