2009/7/21 Markus Mühlbacher :
> I tried to add white to the colors, but this did not change my problem. Still
> the values of the diagonal seem to be different from those occurring in the
> matrix. Or in other words all squares of the diagonal should have to SAME
> color!
If you can send me th
2009/7/21 Markus Mühlbacher :
> So just that I understand right. x and y are the scalings of the x and y axis
> and the matrix represents the color of the points at each gridpoint?
Precisely! Try ?image for more details.
--
Michael Knudsen
micknud...@gmail.com
http://lifeofknudsen.blogspot.com
since heatmap is a graphic image it needs the "graphics" library. you can see
these two in the examples for heatmap.
require(graphics); require(grDevices)
Markus Mühlbacher wrote:
>
> Dear R community!
>
> I am trying to create a heatmap based on the following data. As you can
> see the diago
2009/7/20 Markus Mühlbacher :
> Gives the attached image. Again I am missing the white diagonal. Is there
> some kind of sorting that I do not consider?
Maybe col=c("white",heat.colors(100)) will do the trick?
--
Michael Knudsen
micknud...@gmail.com
http://lifeofknudsen.blogspot.com/
2009/7/20 Markus Mühlbacher :
> What is my mistake?
I don't know about the heatmap function, but I have often used 'image'
with 'heat.colors' without any problems. There is a nice example here:
http://addictedtor.free.fr/graphiques/graphcode.php?graph=20
It should be fairly easy to fit your dat
5 matches
Mail list logo