search for: snapshot3d

Displaying 6 results from an estimated 6 matches for "snapshot3d".

2010 Jun 27
1
Offscreen rendering in RGL?
Hi there, I've written a script for reading 3D simulation data into R, rendering it using RGL, and then saving the resulting plot using the snapshot3d() function. The results are fantastic! However, whenever RGL plots anything it automatically brings the viewing window into focus. Since I'm producing a large number of plots in a loop, my machine becomes almost unusable for the duration of the script. When producing 2D plots in R (i.e....
2010 Nov 03
1
rgl.snapshot() : no longer works?
Hi all, > library(rgl) > plot3d(1,1,1) > snapshot3d("somefile.png") Error in rgl.snapshot(...) : pixmap save format not supported in this build Why does this no longer work? thanks, Remko > sessionInfo() R version 2.12.0 (2010-10-15) Platform: i386-pc-mingw32/i386 (32-bit) locale: [1] LC_COLLATE=English_Australia.1252 LC_CTYPE=...
2010 Dec 17
2
rgl: coordinating and saving viewpoints, zoom, scale for multiple images
...h 1 in the orientation, zoom and scaling to re-create in another session or another graph.... Which is why I'm asking for R-help. library(vcdExtra) HEC <- HairEyeColor[,c(1,3,4,2),] # graph 1 mosaic3d(HEC) # hand rotate, scale, then save orientation; make sure rgl window is not hidden #snapshot3d("HEC3D-1a.png", top=TRUE) M1a <- par3d("userMatrix") # try to make this reproducible, across sessions #> dput(M1a) #structure(c(0.890118718147278, 0.105095967650414, -0.44344499707222, #0, -0.454265862703323, 0.282511830329895, -0.84488445520401, #0, 0.0364845432341099, 0...
2009 Jul 09
2
Save rgl plot3d Graph as Image
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]]
2011 May 12
2
Exporting interactive 3D plots with axes and labels
Hi, I have a question about exporting interactive 3D plots. I use the following code to plot a contour of a trivariate normal distribution: library(mvtnorm) library(rgl) library(misc3d) n=25 x=seq(-3,3,length=n) X=cbind(rep(x,each=n**2),rep(rep(x,each=n),n),rep(x,n**2)) p=array(dmvnorm(X,sigma=diag(3)*0.5+0.5),c(n,n,n)) contour3d(p,x,x,x,level=mean(p)) lim=c(-3,3)
2009 Apr 22
2
Exporting objects plotted with plot3d() - rgl package
Dear all, Can anybody tell me how to export a 3d figure made with the plot3d function? I'm careless about whether it's still interactive or not in another format, as long I can get it out of R. Thanks! Alejandro Gonz?lez Departamento de Biodiversidad y Conservaci?n Real Jard?n Bot?nico Consejo Superior de Investigaciones Cient?ficas Claudio Moyano, 1 28014 Madrid, Spain Tel +0034