jet.colors: Jet Colorscale

Description Usage Arguments Examples

Description

"Jet" colorscale.

Usage

1

Arguments

n

number of breaks in colour scale

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
##---- Should be DIRECTLY executable !! ----
##-- ==>  Define data, use random,
##--	or do  help(data=index)  for the standard data sets.

## The function is currently defined as
function (n) 
{
    x <- ramp(seq.int(0, 1, length.out = n))
    rgb(x[, 1L], x[, 2L], x[, 3L], maxColorValue = 255)
  }

tjconstant/photonMonkey documentation built on Feb. 19, 2018, 7:05 a.m.