colorstripGrob: colorstrip

Description Usage Arguments Value See Also Examples

View source: R/colorstripGrob.r

Description

strip of colors

Usage

1
2
3
  colorstripGrob(fill = 1:3, colour = fill, draw = TRUE,
    raster = FALSE,
    direction = c("vertical", "horizontal"))

Arguments

fill

vector of colours

colour

vector of colours

draw

logical

direction

direction (horizontal or vertical)

raster

logical, use grid.raster (with interpolation)

Value

a grob

See Also

grid.rect

Other grob userlevel: arcTextGrob, barbedGrob, borderGrob, ebimageGrob, ellipseGrob, interleaven, ngonGrob, patternGrob, pixmapGrob, rpatternGrob, stextGrob, tableGrob, virtualGrob

Examples

1
colorstripGrob(c("#E41A1C", "#377EB8", "#4DAF4A"))

ttriche/oldGridExtra documentation built on May 27, 2017, 4:47 p.m.