Skip to content

'Dynamic' 3D plot

3 messages · Martial Sankar, Tony, Greg Snow

#
Hi Martial,

The rgl package is quite nice for this sort of thing:

# this is the example in ?plot3d
library(rgl)
open3d()
x <- sort(rnorm(1000))
y <- rnorm(1000)
z <- rnorm(1000) + atan2(x,y)
plot3d(x, y, z, col=rainbow(1000))


HTH,
Tony Breyal
On 8 May, 09:25, Martial Sankar <martial100... at hotmail.com> wrote:
#
Some options:

The rgl package
The Rggobi package (along with the ggobi program)
The rotate.cloud function in the TeachingDemos package (or tkexamp in the same package for a way to GUIize your favorite plot)