mirror of
https://github.com/dchakro/ggplot_themes.git
synced 2026-05-17 11:22:16 -07:00
28 lines
1 KiB
R
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))
|
|
)
|