set_default_scale {ggplot2} | R Documentation |
Overrides the default scale with one of your choosing.
set_default_scale(aesthetic, type, scale, ...)
aesthetic |
|
type |
|
scale |
|
... |
Hadley Wickham <h.wickham@gmail.com>
qplot(mpg, wt, data=mtcars, colour=factor(cyl)) set_default_scale("colour","discrete", "grey") qplot(mpg, wt, data=mtcars, colour=factor(cyl)) set_default_scale("colour","discrete", "hue")