theme_Morons.Rd
Define function for consistent plot theme.
This function was set up to have a standardized ggplot theme for creating consistent-styled plots. The parameters in this function lets the user control theme parameters such as; font size, font style and legend positions.
theme_Morons(
base_size = 14,
base_family = "Arial",
my_legend_position = "bottom",
my_legend_direction = "horizontal"
)
Size of the font on the plot. Defaults to 14.
Font family to be used on the plot. Defaults to Arial. Always use cairo device when saving the resulting plot!
Where to draw the legend? Defaults to the bottom of the plot.
Which direction to draw the legend? Defaults to horizontal.
Nothing.
library(ggplot2)
ggplot(mpg, aes(displ, hwy, colour = class)) +
geom_point() +
theme_Morons()