ggplot_themes/theme_dc.plot.L.45.nolegend.R
robocopAlpha 477995e4f1 update readme
added info why the theme_dc.plot.L.45.nolegend.R exists
2020-07-14 11:40:39 +03:00

28 lines
1 KiB
R

# This is legacy theme defination for maintaining compatibility with my own historical code base.
library(ggplot2)
theme_dc.plot.L.45.nolegend=ggplot2::theme(
axis.line = element_line(colour = "black",
size=0.5),
panel.border = element_blank(),
panel.background=element_blank(),
panel.grid.major=element_blank(),
panel.grid.minor =element_blank(),
axis.text.y= element_text(size = rel(1.5),
color="black",
margin=unit(c(0.3,0.3,0.3,0.3), "cm"),
hjust=0.5,
angle=0),
legend.key= element_rect(fill=NA,
colour = NA),
legend.position="none",
axis.ticks = element_line(colour = "black"),
axis.text.x = element_text(angle = 45,
hjust = 1,
size = rel(1.5),
color="black",
margin=unit(c(0.3,0.3,0.3,0.3), "cm")),
text=element_text(family="serif"),
axis.ticks.length =unit(0.2, "cm"),
axis.title = element_text(size=rel(1.5))
)