set_default_scale {ggplot2}R Documentation

Set default scale

Description

Overrides the default scale with one of your choosing.

Usage

set_default_scale(aesthetic, type, scale, ...)

Arguments

aesthetic
type
scale
...

Author(s)

Hadley Wickham <h.wickham@gmail.com>

Examples

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")

[Package ggplot2 version 0.8.2 Index]