smoothCols: smoothCols

Description Usage Arguments

Description

Read in continuous values between xmin and xmax and return colours associated with these values, taken from a smoothly varying scale.

Usage

1
2
smoothCols(x, xmin = min(x, na.rm = T), xmax = max(x, na.rm = T),
  res = 1000, rawCols = NULL)

Arguments

x

values from which to obtain colours.

xmin

minimum range of x.

xmax

maximum range of x.

res

number of colours in palette.

rawCols

colours that make up the palette. Leave as NULL to use default values, taken from tim.colors().


bobverity/bobFunctions documentation built on May 12, 2019, 11:29 p.m.