[R] Save rgl plot3d Graph as Image

iris iris0324 at 126.com
Tue Jun 26 03:49:41 CEST 2012


In the rgl package *rgl.postscript *can save 3d scatter plots you have
generated using the plot3d command .

For example
open3d()
  x <- sort(rnorm(1000))
  y <- rnorm(1000)
  z <- rnorm(1000) + atan2(x,y)
  plot3d(x, y, z, col=rainbow(1000))

rgl.postscript("persp3dd.pdf","pdf")

--
View this message in context: http://r.789695.n4.nabble.com/Save-rgl-plot3d-Graph-as-Image-tp898351p4634478.html
Sent from the R help mailing list archive at Nabble.com.



More information about the R-help mailing list