[R] 3D Plot

Ariane C. Böhm
2010-04-23T12:51:36Z

Hi guys of the R-Help-Team! First of all - you do a great
job!<br
/>I've found a lot of your mails in the internet. So I thought it would
be a
good idea to ask you a question about R. R is new to me,
so sorry,
if the question is too simple :) I have a matrix.<br
/>I can make a
2D Heatmap of this matrix. My question: Can I
also make a 3D
Heatmap of this matrix - so the third parameter should the value in the
matrix. My first thought was : > mat
&lt;- read.table(file
= "AvgMatrix.mat") > x
<-as.matrix(mat) > hv
&lt;- heatmap.2 (x, col=topo.colors, Colv = NA, Rowv = NA,
main=&quot;AvgMatrix&quot;, xlab=&quot;Columns&quot;,
ylab=&quot;Rows&quot;,
key=TRUE, trace = "none") But that is just a 2D
heatmap.<br
/> Thanks for your help Ariane<br
/>