Learn R Programming

CatterPlots (version 0.0.2)

cats: Plot more cats!

Description

Plot more cats!

Usage

cats(obj = NULL, xs, ys, size = 0.1, cat = 1, catcolor = "#000000FF",
  linecolor = 1, type = "justcats")

Arguments

obj

a catplot object, returned from catplot

xs

a vector of numbers

ys

another vector of numbers

size

the size of the cat (0.1 is a good starting point)

cat

the cat model, 1 through 12

catcolor

a modifier vector to the png matrix (try c(1,0,0,1))

linecolor

color of plotted lines

type

the type of plot ... justcats, or line

Value

a cat plot object... to plot more cats.

Examples

Run this code
	x <- -10:10
	y <- -x^2 + 10
	purr <- catplot(xs=x, ys=y, cat=3, catcolor=c(0,1,1,1))
	cats(purr, -x, -y, cat=2, catcolor=c(0,0,0,1))

Run the code above in your browser using DataLab