Hi,
try this,
m = matrix(runif(2000*2400), nrow=2000)
library(grid)
grid.raster(m)
HTH,
baptiste
On 17 May 2010 20:35, tetonedge <derek at 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 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:
http://r.789695.n4.nabble.com/Display-Large-Matrix-as-an-Image-tp2220139p2220139.html
> Sent from the R help mailing list archive at Nabble.com.
>
> ______________________________________________
> R-help at 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.
>