Re: [R] interactive rotatable 3d scatterplot

2008-05-19 Thread Duncan Murdoch
On 16/05/2008 6:43 PM, Ben Bolker wrote: francois Guilhaumon francoisguilhaumon at gmail.com writes: I am facing the same problem than Mark Kimpel with the rgl package : Running various 3D rendering I'm always faced with a static 3d plot, which does not rotate when I click and mouse over it.

[R] interactive rotatable 3d scatterplot

2008-05-16 Thread francois Guilhaumon
I am facing the same problem than Mark Kimpel with the rgl package : Running various 3D rendering I'm always faced with a static 3d plot, which does not rotate when I click and mouse over it. I'm running Ubuntu linux 7.10 with a 32bit processor, thus the problem is not arising from 64bit issues.

Re: [R] interactive rotatable 3d scatterplot

2008-05-16 Thread Ben Bolker
francois Guilhaumon francoisguilhaumon at gmail.com writes: I am facing the same problem than Mark Kimpel with the rgl package : Running various 3D rendering I'm always faced with a static 3d plot, which does not rotate when I click and mouse over it. I'm running Ubuntu linux 7.10

Re: [R] interactive rotatable 3d scatterplot

2008-05-16 Thread francois Guilhaumon
The problem is arising because graphical effects are certainly turn-on on the computer. I deactivated the graphical effects and was able to rotate the 3D surface plot. Turning effects on bring me back in the original state of a non rotating scene. It seems that it is more an openGL issue.

[R] interactive rotatable 3d scatterplot

2008-05-02 Thread Mark Kimpel
I would like to create a 3d scatterplot that is interactive in the sense that I can spin it on its axes to better visualize some PCA results I have. What are the options in R? I've looked at RGL and perhaps it will suffice but it wasn't apparent from the documentation I found. Any demo scripts

Re: [R] interactive rotatable 3d scatterplot

2008-05-02 Thread Richard Rowe
Hi Mark, Try using ggobi via Rggobi. ggobi is aimed at higher dimension multivariate data but it does a very useful service in 3-D projections, do a manually controlled tour ... I've used this to tweak PCA results and find fine structure, Richard Mark Kimpel wrote: I would like to create

Re: [R] interactive rotatable 3d scatterplot

2008-05-02 Thread Yasir Kaheil
#Install library rgl #here is the is the function: rgl.plot3d-function(z, x, y, cols=red,axes=T,new=T) {xr-range(x) x01-(x-xr[1])/(xr[2]-xr[1]) yr-range(y) y01-(y-yr[1])/(yr[2]-yr[1]) zr-range(z) z01-(z-zr[1])/(zr[2]-zr[1]) if(new) rgl.clear() if(axes) {xlab-pretty(x)