powered by
Color scale for Taylor Swift colors
scale_color_taylor( palette = "taylor1989", discrete = TRUE, reverse = FALSE, ... )
Character name of palette in swift_palettes
Boolean if color aesthetic is discrete
Boolean indicating whether palette should be reversed
Additional arguments used to discrete_scale() or scale_fill_gradientn() to automatically interpolate between colours.
No return value. Called for side effects
# NOT RUN { library(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_taylor() # }
Run the code above in your browser using DataLab