-
Notifications
You must be signed in to change notification settings - Fork 0
/
gg_style_newPhyt.txt
48 lines (45 loc) · 1.01 KB
/
gg_style_newPhyt.txt
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
# Theme for New Phytologist
# ————————————————————
# Use multiplier to change object sizes for raster format plots
mp <- 1
theme_np =
theme_bw() +
theme(
text = element_text(family = "Helvetica"),
axis.title = element_text(size = 8 * mp),
axis.text.x = element_text(
size = 6 * mp,
family = "Helvetica",
margin = unit(c(
t = 2 * mp,
r = 0,
b = 4 * mp,
l = 0
), "mm")
),
axis.text.y = element_text(
size = 6 * mp,
family = "Helvetica",
margin = unit(c(
t = 0,
r = 2 * mp,
b = 0,
l = 3 * mp
), "mm")
),
strip.text = element_text(
size = 8 * mp,
family = "Helvetica"
),
legend.text = element_text(
size = 8 * mp,
family = "Helvetica"
),
legend.title = element_text(
size = 8 * mp,
family = "Helvetica",
hjust = 0.5
),
legend.position = "right",
panel.grid = element_blank()
)