Learn R Programming

ggplot2 (version 0.9.1)

continuous_scale: Continuous scale constructor.

Description

Continuous scale constructor.

Usage

continuous_scale(aesthetics, scale_name, palette,
    name = NULL, breaks = waiver(),
    minor_breaks = waiver(), labels = waiver(),
    legend = NULL, limits = NULL, rescaler = rescale,
    oob = censor, expand = waiver(), na.value = NA,
    trans = "identity", guide = "legend")

Arguments

aesthetics
character
trans
A transformation object, as created by trans_new. You can also give the name of the transformer: e.g. instead of log2_trans() you can use "log2".