powered by
Plot even more cats! In more colors and shapes!
morecats(obj = NULL, xs, ys, size = 0.1, cat = c(4, 5, 6), catcolor = c("#0000FFFF", "#00FF00FF"), linecolor = 1, type = "justcats", yshift = 0, xshift = 0, color = TRUE)
a catplot object, returned from catplot
a vector of numbers
another vector of numbers
the size of the cat (0.1 is a good starting point)
the cat model, 1 through 12
a modifier vector to the png matrix (try c(1,0,0,1))
color of plotted lines
the type of plot ... justcats, or line
shifts the cat up or down, within the scaled space
shifts the cat left or right, within the scaled space.
whether or not to apply color to image(s)
a cat plot object... to plot more cats.
x <- -10:10 y <- -x^2 + 10 purr <- catplot(xs=x, ys=y, cat=3, catcolor=c(0,1,1,1)) morecats(purr, -x, -y, cat=c(4,5,6), catcolor=list(c(0,0,1,1),c(0,1,0,1)))
Run the code above in your browser using DataLab