diverge0: diverge0

Description Usage Arguments Author(s) References

Description

Takes a trellis object generated by rasterVis::levelplot, and a colour ramp, and plots the object with the colours diverging around zero.

Usage

1
diverge0(p, ramp='RdBu')

Arguments

p

Trellis object generated by rasterVis::levelplot

ramp

The name of an RColorBrewer palette (as character), a character vector of colour names to interpolate, or a colorRampPalette

Author(s)

J Baums

References

http://stackoverflow.com/questions/33750235/plotting-a-raster-with-the-color-ramp-diverging-around-zero


christiaanpauw/AQoffset documentation built on May 13, 2019, 6:57 p.m.