# NOT RUN {
library("ggplot2")
# default colors
ggplot(iris, aes(Sepal.Length, Sepal.Width, color = Species)) +
geom_point() + theme_minimal() +
scale_color_discrete_qualitative()
# color scale "Harmonic"
ggplot(iris, aes(Sepal.Length, fill = Species)) +
geom_density(alpha = 0.7) + scale_fill_discrete_qualitative(palette = "Harmonic")
# }
Run the code above in your browser using DataLab