map_colour_gradient {ggplot} | R Documentation

## Aesthetic mapping: colour gradient

### Description

Map values to a colour gradient

### Usage

    map_colour_gradient(x, low="red", mid="white",high="black", midpoint = 0, from=range(x, na.rm=TRUE))

### Arguments

`x` | data vector
`low` | colour to use at bottom of scale
`mid` | colour to use at middle of scale
`high` | colour to use at top of scale
`midpoint` | where mid point colour should be used
`from` |

### Details

### Author(s)

Hadley Wickham <h.wickham@gmail.com>

### Examples

[Package ggplot version 0.2.2 Index]