[R] Display Large Matrix as an Image

2010-05-17 Thread tetonedge
I have a matrix that is 2400x2000 and I would like to display it as an image, I have tried image(), but due to the size of the matrix the drawing of the plot is extremely slow. Does anybody know of any fast ways to visualize such a large matrix. Thanks -- View this message in context:

Re: [R] Display Large Matrix as an Image

2010-05-17 Thread baptiste auguie
Hi, try this, m = matrix(runif(2000*2400), nrow=2000) library(grid) grid.raster(m) HTH, baptiste On 17 May 2010 20:35, tetonedge de...@tetonedge.net wrote: I have a matrix that is 2400x2000 and I would like to display it as an image, I have tried image(), but due to the size of the matrix

Re: [R] Display Large Matrix as an Image

2010-05-17 Thread tetonedge
That works great, thanks -- View this message in context: http://r.789695.n4.nabble.com/Display-Large-Matrix-as-an-Image-tp2220139p2220219.html Sent from the R help mailing list archive at Nabble.com. __ R-help@r-project.org mailing list