Dear R gurus,

I'm trying to visualize a matrix 256 x 920 using image(), but i find  
the display too slow (~ 1 minute –– admittedly, my iBook G4 isn't  
very fast). The aim is not to get a good resolution image, but rather  
have a quick look at the matrix. I couldn't find a way to plot a  
smaller set of points from my data in a sensible manner (basically, i  
want to decrease the resolution). Is there an easy option for this  
purpose in image(), or possibly the lattice equivalent?

Minimal example:

x<-c(1:256)
y<-c(1:920)
z<-x%*%t(y)
image(x,y,z)


Best regards,

baptiste

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to