Displaying 1 result from an estimated 1 matches for "spewcifi".
Did you mean:
specifi
2011 Sep 23
2
image function help required
Hi,
I have a question concerning the image function and how to generate custom
axis labels:
dat<-sample(0:1,1000,replace=T)
matrix(dat,ncol=5,nrow=200)->x
x[order(x[,1],x[,2],x[,3],x[,4],x[,5]),]->x
I would like to have a heatmap kind of thing like this:
image(t(x),col=c(0,1),axes=F)
axis(1, 1:5, c(colnames(x)))
I only do see parts of the axis (only an "A" is