theme_science | R Documentation |
The theme set supports 10 colors in the colorblind friendly, yet beautiful pastille colors, and afterwards it backs out to 64 colors from resurrect palette. Theme is based on 'ggthemes::theme_pander()'.
theme_science(
base_size = 16,
base_family = "sans",
nomargin = FALSE,
fc = "black",
gM = TRUE,
gm = TRUE,
gc = "grey",
gl = "dashed",
boxes = TRUE,
bc = "white",
pc = "transparent",
lp = "top",
axis = 1
)
base_size |
Font size |
base_family |
Font family |
nomargin |
If true will remove all margins. |
fc |
text colour, default is black |
gM |
grid Major |
gm |
grid minor |
gc |
grid color |
gl |
grid linetype |
boxes |
whether to keep boxes around the plot |
bc |
background color, default white |
pc |
panel colour background, default transparent |
lp |
legend position, default is top |
axis |
0, 1, 2, 3 - default is 1 |
a ggplot2 theme
See ggtheme package
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.