-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy paththeme_cpp.R
More file actions
27 lines (24 loc) · 932 Bytes
/
theme_cpp.R
File metadata and controls
27 lines (24 loc) · 932 Bytes
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
# Theme_CPP - Cidadania e Políticas Públicas
# Tema para ggplot2
# Denisson Silva / denisson@denissonsilva.com
# Willber Nascimento / willbernascimento@outlook.com
# versão 1.0 Final
theme_cpp<- function (base_size = 10, base_family = "") {
theme_gray(base_size = base_size, base_family = base_family) %+replace%
theme(
axis.text = element_text(colour = "black",size=rel(1)),
axis.text.y=element_text(angle=0),
axis.title.x = element_text(colour = "black", size=rel(1)),
axis.title.y = element_text(colour = "black", angle=90),
axis.line=element_line(color="black"),
legend.position="bottom",
legend.title=element_blank(),
strip.background=element_blank(),
panel.grid = element_blank(),
panel.border= element_blank(),
panel.background = element_blank(),
plot.background = element_blank()
)
}
theme_set(theme_cpp())
theme_cpp <- theme_get()