set_plot_theme: Function to set plot theme

View source: R/Olink_theme.R

set_plot_themeR Documentation

Function to set plot theme

Description

This function sets a coherent plot theme for functions.

Usage

set_plot_theme(font = "Arial")

Arguments

font

Font family to use for text elements. Default: "Arial".

Value

No return value, used as theme for ggplots

Examples

library(ggplot2)

ggplot(mtcars, aes(x = wt, y = mpg, color = as.factor(cyl))) +
  geom_point(size = 4) +
  set_plot_theme()

ggplot(mtcars, aes(x = wt, y = mpg, color = as.factor(cyl))) +
  geom_point(size = 4) +
  set_plot_theme(font = "")



OlinkAnalyze documentation built on Nov. 5, 2025, 5:25 p.m.