Description Usage Arguments Examples
View source: R/theme-atlantis.R
This function is a customized theme for ggplot2 plots. It's applied
by default to all plots created within atlantistools
.
1 2 | theme_atlantis(large = 22, medium = 18, small = 14, scale_font = 1,
rot_xaxis_text = FALSE, rot_strips_y = TRUE)
|
large |
Integer giving the size of the font for the main parts of the plot.
Default is |
medium |
Integer giving the size of the font used in the legend and
facet labels. Default is |
small |
Integer giving the size of the font used in the rest of the plot.
Default is |
scale_font |
Numeric used to scale all font sizes. Default is |
rot_xaxis_text |
Logical indicating if x-axis text should be
rotated by 45 degree. Default is |
rot_strips_y |
Logical indicating if facet labels should be
rotated by 90 degree. Default is |
1 2 3 4 5 | ## Not run: nums_agg <- agg_data(data = ref_nums, groups = c("species", "time"), fun = sum)
ggplot2::ggplot(data = nums_agg, ggplot2::aes(x = time, y = atoutput)) +
ggplot2::facet_wrap(~species) +
theme_atlantis()
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.