rainbowCats: Rainbows! Even more colors.

Description Usage Arguments Value Examples

Description

Rainbows! Even more colors.

Usage

1
2
3
rainbowCats(xs, ys, ptsize = 0.1, yspread = 0.1, xspread = 0.1,
  cat = 11, catshiftx = 0, catshifty = 0, spar = NA, canvas = c(-0.5,
  1.5, -1, 1.5))

Arguments

xs

a vector of numbers

ys

another vector of numbers

ptsize

control the size.

yspread

the vertical spread of the rainbow

xspread

the horizontal spread of rainbow particles

cat

what cat shall make thine rainbow? nyan is 11

catshiftx

get your cat connected to the rainbow!

catshifty

get your cat connected to the rainbow!

spar

the smoothness of the rainbow.

canvas

you are probably going to want to zoom in and out (x1,x2,y1,y2)

Value

a rainbow!

Examples

1
2
3
4
x <- -10:10
y <- -x^2 + 10
rainbowCats(x, y, yspread=0.05, xspread=0.05, ptsize=2,
            catshiftx=0.5, catshifty=-0.2, canvas=c(-0.5,1.5,-1,1.5))

Gibbsdavidl/CatterPlot documentation built on May 6, 2019, 6:28 p.m.