Description Usage Details Examples
Custom ggplot2 theme inspired by the plots in Raymond Chang's "Physical Chemistry for the Chemical and Biological Sciences."
1 2 3 4 5 6 | theme_chang(
base_size = 11,
base_family = "Helvetica",
base_line_size = base_size/22,
base_rect_size = base_size/22
)
|
theme_chang() is a minimal design suited for illustrating single lines, functions, or trends, or distinguishing one particular variable. Theme includes the distinctive red used throughout the book, inward facing axis ticks, and blank background.
1 | ggplot(mtcars, aes(wt, mpg)) + geom_point() + geom_smooth(color = changred, se = FALSE) +theme_chang()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.