library(ggplot2)
ggplot(mtcars, aes(factor(cyl), mpg, fill = factor(cyl))) +
geom_boxplot() +
scale_fill_mlb("rockies") # Colorado Rockies
ggplot(mtcars, aes(wt, mpg, colour = hp)) +
geom_point(size = 3) +
scale_colour_mlb("rockies", discrete = FALSE)
Run the code above in your browser using DataLab