theme_report | R Documentation |
lightweight ggplot2 themes for Cramer Fish Sciences and fish lovers alike
theme_report( inner_border = TRUE, outer_border = TRUE, outer_border_color = "gray40", inner_border_color = "gray25", base_size = 11, base_family = "Helvetica" ) theme_pres(transparent = TRUE, base_size = 14, base_family = "Helvetica") theme_pub(transparent = TRUE, base_size = 10.5, base_family = "Helvetica")
inner_border |
Logical controlling the border around the inner panel. |
outer_border |
Logical controlling the border around the plot object. |
outer_border_color |
Accepts a character string for the color of the outer plot border |
inner_border_color |
Accepts a character string for the color of the inner panel border |
base_size |
the default font size for the plot |
base_family |
Accepts a character string for the name of the font family to be used on the plot - only specify fonts which are installed on your system. |
transparent |
Logical controlling whether the panel and plot background of the plot should be transparent when saved to a png |
good template theme for reports. Default inner panel border and light gridlines
intended for use in presentations. Larger default fonts, no gridlines, clean background suited for transparency options
good baseline template for publications. Smaller default fonts, theme suited for black and white.
library(ggplot2) ggplot(mpg) + geom_point(aes(x = displ, y = hwy)) + theme_pres() ggplot(mpg) + geom_point(aes(x = displ, y = hwy)) + theme_report() ggplot(mpg) + geom_point(aes(x = displ, y = hwy)) + theme_pub()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.