# NOT RUN {
if (require('ggplot2')) {
ggplot(iris, aes(x=Petal.Width, y=Petal.Length)) +
geom_point(aes(color=Species), size=10) +
scale_colour_iwanthue()
ggplot(iris, aes(x=Petal.Width, y=Petal.Length)) +
geom_point(aes(color=Species), size=10) +
scale_colour_iwanthue(hmax = 90)
}
# }
Run the code above in your browser using DataLab