Title: | Add-in to Customize 'ggplot2' Themes |
---|---|
Description: | Rstudio add-in that delivers a graphical interface for editing 'ggplot2' theme elements. |
Authors: | Calli Gross [aut, cre], Philipp Ottolinger [aut, ctb] |
Maintainer: | Calli Gross <[email protected]> |
License: | GPL-3 |
Version: | 0.1.5.9001 |
Built: | 2025-01-01 03:35:25 UTC |
Source: | https://github.com/calligross/ggthemeassist |
Addin to help style your ggplot2 themes
ggThemeAssist
is a RStudio-Addin that delivers a graphical interface for editing ggplot2 theme elements.
ggThemeAssistGadget(plot)
ggThemeAssistGadget(plot)
plot |
A ggplot2 plot object to manipulate its theme. |
To run the addin, either highlight a ggplot2-object in your current script and select ggThemeAssist
from the Addins-menu within RStudio, or run ggThemeAssistGadget(plot)
with a ggplot2 object as the parameter. After editing themes and terminating the addin, a character string containing the desired changes is inserted in your current script.
ggThemeAssist
returns a character vector.
## Not run: # example for ggThemeAssist command line usage. library(ggplot2) gg <- ggplot(mtcars, aes(x = hp, y = mpg, colour = as.factor(cyl))) + geom_point() ggThemeAssistGadget(gg) ## End(Not run)
## Not run: # example for ggThemeAssist command line usage. library(ggplot2) gg <- ggplot(mtcars, aes(x = hp, y = mpg, colour = as.factor(cyl))) + geom_point() ggThemeAssistGadget(gg) ## End(Not run)