Re: [R] Two 3D cones in one graph

2009-04-28 Thread Deepayan Sarkar
On Thu, Apr 23, 2009 at 4:22 AM, Jaakko Nevalainen wrote: > Dear R-users: > > The following code produces two cones in two panels. What I would like to > have is to have them in one, and to meet in the origin. Does anyone have any > good ideas how to do this? wireframe gets easily confused when n

Re: [R] Two 3D cones in one graph

2009-04-23 Thread Ben Bolker
Jaakko Nevalainen wrote: > > > The following code produces two cones in two panels. What I would like > to have is to have them in one, and to meet in the origin. Does anyone > have any good ideas how to do this? > > Adapt the cone3d() function from the shapes3d demo in the rgl package?

[R] Two 3D cones in one graph

2009-04-23 Thread Jaakko Nevalainen
Dear R-users: The following code produces two cones in two panels. What I would like to have is to have them in one, and to meet in the origin. Does anyone have any good ideas how to do this? Thanks for your help Jaakko library(lattice) A<-matrix(ncol=2, nrow=64) for(i in 0:63) { A[i+