Dear Users: I wish to save 3d scatter plots I have generated using the plot3d command in the rgl package. Any image format such as .tiff would work. Can anyone tell me how to do this? Thank you [[alternative HTML version deleted]]
Patrick Gedeon wrote:> Dear Users: > I wish to save 3d scatter plots I have generated using the plot3d command in > the rgl package. Any image format such as .tiff would work. Can anyone tell > me how to do this?Try snapshot3d(), or rgl.postscript(). The postscript conversion is somewhat limited, but produces better quality when it works, because it's not just a bitmap. Duncan Murdoch
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.