On 06/01/2008 10:46 AM, Michael Kubovy wrote: > Dear r-helpers, > > Can one save a dynamic graphic produced by rgl, e.g.: > open3d(); x <- sort(rnorm(1000)); y <- rnorm(1000); z <- > rnorm(1000) + atan2(x,y); plot3d(x, y, z, col=rainbow(1000), size=2) > as a dynamic figure that can be embedded in a pdf?
rgl doesn't produce any format that remains dynamic. You can produce bitmap or (with some limitations) vector format snapshots, and you can put multiple bitmaps together into a movie (see movie3d(), for example). I don't know how to embed a movie into a pdf, but I assume it's possible. Duncan Murdoch ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.