Skip to content
Dan Kelley edited this page Apr 19, 2014 · 1 revision

First some tests.

n<-5;y<-1:n; image(x=1,y=y,z=matrix(y, nrow=1), col=y,breaks=c(y[1]-(y[2]-y[1]),y))

Hang on, this wiki doesn't make it easy to upload an image ... why use this??