plot.color.gradient: PLOT COLOR GRADIENT

Description Usage Arguments Value Examples

Description

plots a gradient picture

Usage

1
2
3
## S3 method for class 'color.gradient'
plot(col.from = "red", col.to = "yellow",
  length.out = 8, dir = "vertical", verbose = T)

Arguments

col.from

first color

col.to

last color

length.out

number of colors

dir

direction can be "horizontal" or "vertical"

verbose

if true colors are printed inside color rectangles

Value

a ggplot

Examples

1

TPeschel/hlpr4life documentation built on May 9, 2019, 2:25 p.m.