Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
# * `set_default_scale` has been removed. If you want to change the default
# scale for an aesthetic, just create a function called
# `scale_aesthetic_continuous` or `scale_aesthetic_discrete` that returns the
# scale that you want. For example:
p <- qplot(mpg, wt, data = mtcars, colour = factor(cyl))
p
scale_colour_discrete <- scale_colour_brewer
p
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment