add_defaults {ggplot} | R Documentation

## Add default scales.

### Description

Add default scales to a plot.

### Usage

    add_defaults(p = .PLOT, aesthetics)

### Arguments

`p` | plot object, if not specified will use current plot
`aesthetics` | list of unevaluated aesthetics

### Details

You shouldn't need to call this function yourself. If you want to add a scale to a plot, use `add_scale`.

### Author(s)

Hadley Wickham <h.wickham@gmail.com>

### Examples

[Package ggplot version 0.4.2 Index]