Re: [R] scatterplot3d with densCols ?

2013-03-28 Thread Brian Smith
Ah, yes, correct - the option is color. However, I think the problem (i.e. MY problem) is with densCols - I need it to calculate the 3D density! thanks! On Thu, Mar 28, 2013 at 6:52 AM, Pascal Oettli wrote: > Hello, > > According to ?scatterplot3d, the option is 'color', not 'col'. > > scat

Re: [R] scatterplot3d with densCols ?

2013-03-28 Thread Pascal Oettli
Hello, According to ?scatterplot3d, the option is 'color', not 'col'. scatterplot3d(mat,color=mcols,pch=16) HTH, Pascal On 28/03/13 19:41, Brian Smith wrote: Hi, I was trying to make a 3D plot using densCols. The documentation for densCols doesn't look like it'll work for 3D. For example:

[R] scatterplot3d with densCols ?

2013-03-28 Thread Brian Smith
Hi, I was trying to make a 3D plot using densCols. The documentation for densCols doesn't look like it'll work for 3D. For example: - library(scatterplot3d) v1 <- rnorm(1) v2 <- rnorm(1) v3 <- rnorm(1) ## 2D with denscols mat1 <- cbind(v1,v2)