set the default theme
setDefaultTheme.Rdset properties of the default theme for OSPSuite plots. This function applies a custom theme based on theme_bw() with OSPSuite-specific styling.
Examples
if (FALSE) { # \dontrun{
oldTheme <- setDefaultTheme()
# Create a plot with the new theme
p <- ggplot(mtcars, aes(x = wt, y = mpg)) +
geom_point()
print(p)
# Restore previous theme
resetDefaultTheme(oldTheme)
} # }