ggGalactic | R Documentation |
Galactic Polymath stylings for ggplot2; deprecated and moved to galacticEdTools package; use galacticEdTools::theme_galactic() instead
ggGalactic(
grid.thickness.maj = 0.7,
grid.thickness.min = 0.4,
grid.col = "#C3C3C3",
border.thickness = 1.8,
border.col = "#6D6D6D",
font = "Noto sans",
regular.wt = 300,
bold.wt = 500,
font.cex = 1,
axis.lab.col = "#363636",
axis.text.col = "#6D6D6D",
plot.margin = ggplot2::margin(t = 10, r = 10, b = 10, l = 10)
)
grid.thickness.maj |
How heavy do you want grid lines to be? (in case printer makes things lighter); default=.8 |
grid.thickness.min |
How heavy do you want grid lines to be? (in case printer makes things lighter); default=.6 |
grid.col |
What color do you want the grid to be? Default: same as font (#363636) |
border.thickness |
How heavy do you want the plot border to be? |
border.col |
Color of plot border. Default: same as font (#363636) |
font |
Google font to use, "Noto sans" by default; see options with sysfonts::font_families_google() |
regular.wt |
font weight for regular font style |
bold.wt |
font weight for bold text |
font.cex |
a simple multiplier for scaling all text |
axis.lab.col |
color of axis labels (and title) |
axis.text.col |
color of axis text (numbers, dates, etc) |
plot.margin |
easy access to ggplot margins |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.