powered by
Creating the color scale for Van Gogh Colors
scale_color_gogh( palette = "starryNight", discrete = TRUE, reverse = FALSE, ... )
A ggplot2 color scale. If `discrete` is TRUE, it returns a discrete color scale; otherwise, a continuous color scale.
the ggRtsy painting color palette of choice
Boolean if color aesthetic is discrete
Boolean, will be TRUE if the user wants the palette reversed
further arguments passed to [ggRtsy::scale_color_gogh()]
if (require(ggplot2)) { data <- data.frame(c = LETTERS[1:3],x = c(1,5,7),y = c(5,9,13)) ggplot(data, aes(x,y,color = c))+geom_point()+scale_color_gogh() }
Run the code above in your browser using DataLab