gel: Transparent shades of grey or other colours

Description Usage Arguments Examples

View source: R/plot_functions.R

Description

Inspired by gels used in theatre lighting.

Usage

1
gel(alpha, red = 0, green = 0, blue = 0)

Arguments

alpha

semi-transparency parameter (see rgb)

red, green, blue

values between 0 and 1 for colour components

Examples

1
plot(rnorm(1000),rnorm(1000),pch=16,cex=3,col=gel(0.1))

stevetnz/stevesRfunctions documentation built on May 28, 2019, 8:21 a.m.