Skip to content
Back to formatted view

Raw Message

Message-ID: <1D088B40-E7EB-4B9E-A19F-97EC47732DEA@googlemail.com>
Date: 2011-10-03T17:05:25Z
From: Martin Batholdy
Subject: intensity map / plot

Dear R-list,


I would like to generate an intensity map based on a x * y matrix.

Each point in the matrix should get plotted at the coordinate: x = column / y = row with 
a color-intensity (for example gray-value) based on the actual value of this point.

Is there a convenient package / function for this kind of plot?



example data:
x <- matrix(rnorm(100*100, 0, 2), 100, 100)


thanks!