Description Usage Arguments Examples
Standard dMod color palette
1 |
... |
arguments goint to codescale_color_manual() |
1 2 3 4 5 6 7 8 9 10 | library(ggplot2)
times <- seq(0, 2*pi, 0.1)
values <- sin(times)
data <- data.frame(
time = times,
value = c(values, 1.2*values, 1.4*values, 1.6*values),
group = rep(c("C1", "C2", "C3", "C4"), each = length(times))
)
qplot(time, value, data = data, color = group, geom = "line") +
theme_dMod() + scale_color_dMod()
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.