similar to: How to set the size of a rgl window, par3d() ?

Displaying 20 results from an estimated 7000 matches similar to: "How to set the size of a rgl window, par3d() ?"

2011 Sep 09
1
rgl: axis/viewport/box problems in persp3d()
Dear expeRts, I am a new user of rgl, below is my first trial to plot a simple function in 3d. I managed to put the axes in the right locations, but: (1) The xlab, ylab, and zlab arguments are ignored; how can I put in axes labels? (2) Since I removed the axes in persp3d() the viewport is too small; is it possible to keep the size of the viewport? (3) The box is not correctly drawn, there
2009 Feb 16
1
Help with rgl
Hi, I don't know much about the RGL package, and I have read the documentation and tried some parameters, with no luck... I would like to generate a movie from a 3D object (code below), where the vortex A is closer to the observer, and then the object rotates and the B vortex gets closer. I would like to capture this movie to a file. By the way, I am not being able to insert unicode text
2008 Oct 24
1
movie3d function in the rgl package
Dear list, I'm using the function "movie3d" in the package "rgl" to create a .gif animation of a 3d graphic. The program "ImageMagik" is working properly, R packages are working, basic examples available in the manual also working fine. Problem Solved: when I tried to create more complex movies, i.e. combining different views and zooming, the R-console crashed
2008 Sep 17
1
rgl: How to position a window during open3d call
Dear all, The documentation on the function open3d in the rgl package, reads: open3d opens a new rgl device, and sets the parameters as requested. I want the new rgl device (window) to be sized and positioned in a specific place on my screen. So, I try to set the "windowRect" parameter as follows: > library("rgl") > open3d(windowRect=c(100,100,500,500))
2012 Nov 02
1
rgl package and animation
I am trying to figure out how to use rgl package for animation. It appears that this is done using the play3d() function. Below I have some sample code that plots a 3D path and puts a sphere at the point farthest from the origin (which in this case also appears to be at the end of the path). What I would like to do is animate the movement of another sphere along the length of the path
2010 Dec 17
2
rgl: coordinating and saving viewpoints, zoom, scale for multiple images
Context: I have two or more rgl-based views of a given data set, perhaps fitting different models, or showing different things across views. I want to be able to hand-rotate, zoom, scale one view to something I like, and then show the other views with matching viewpoints and scaling. so that one could flip back/forth among graphs and see only the relevant differences. In 2D, all this usually
2011 Apr 25
1
Defining origin for rotation in RGL device
Hi all, How can I tell RGL to set the center for the rotation to the origin of the coordinate system (0,0,0). It seems that the default is to use the center of the display not the origin of the coordinate system. open3d() lines3d(c(0, 1), c(0,0), c(0,0)) lines3d(c(0,0), c(0, 1), c(0,0)) lines3d(c(0,0), c(0,0), c(0, 1)) TIA Mark ??????????????????????????????????????? Mark Heckmann Blog:
2008 Mar 01
1
How to chain user mouse handlers in rgl
Dear Rglers, With rgl, I would like to set marker when a button is pressed, but leave the standard trackball handling otherwise. Thanks to Duncan and Oleg for helping me handling key down. How do I say in a custom mouse handler "after having done your work, forward to standard trackball once only"? The example below shows the idea, but it works only once, then reverts to standard
2008 Jun 24
2
problem with rgl interactivity with R-2.7.1 and Ubuntu Hardy
I'm trying to use the rgl package on R-2.7.1 running on top of Ubuntu Hardy amd64. using open3d() and plot3d() I get a plot, but it is not interactive. Furthermore, changes to par3d("FOV"=my.new.value) do nothing. I suspect something is wrong with the rendering engine or interface to it. I do have an Nvidia driver installed and compiz works correctly on the desktop. I've
2006 Aug 23
1
rgl package: color of the axes
Hej, When plotting triangles with rgl.triangles and setting the axes afterwards with decorate3d(aspect=TRUE), the axes get the color used for the last triangle plotted. Example: rgl.triangles(c(1,2,3),c(1,2,5),c(1,3,2),col="#55FF55") decorate3d(aspect=TRUE) Using decorate3d(aspect=TRUE,col="#000000") or decorate3d(aspect=TRUE,color="#000000") does not help,
2011 Sep 09
1
Rgl and plotmath symbols (via sprites): a trial
Dear all, Below is some code where I try to get plotmath symbols in an rgl plot. Duncan Murdoch kindly suggested to use a "sprite" for this. As you can see, on can get it to work, but my knowledge about grid and rgl is too limited to perfectly solve the problem. 1) As you can see (please rotate the plot a little bit so that (0,0,0) is "in front"), the quality of the .png
2011 Jun 03
1
movie3d in rgl object 'movie' not found
Hello, I am trying to save a .gif movie using movie3d from the package {rgl}. I am using the following code combined with the globe example on the ?movie3d page. I've installed ImageMagick and the directory seems to be working properly, i.e. when I do Sys.getenv("PATH"), C:\\Program Files (x86)\\ImageMagick-6.7.0-Q16 shows up. #### library(rgl) open3d() lat <-
2014 Apr 17
1
rgl rotations
Is there a way to change the viewpoint using view3d (or rgl.viewpoint) with respect to the image that currently appears rather than the perspective that rgl thinks is the default? For example, if I create an image and then perform what should be a no-op: rgl.viewpoint(userMatrix=rotationMatrix(0,1,0,0)) the image is rotated. Then I can perform rotations on the result without surprises. But I
2009 Oct 15
1
ImageMagick not seen by movie3d function from rgl package
Hello R-users, I have downloaded and installed a binary version for Windows OS of ImageMagick (ImageMagick6.5.6-10-q16-windows-dll.exe), I have installed the rgl package and i've tried running the following example from ?movie3d() library(rgl) open3d() plot3d( cube3d(col="green") ) M <- par3d("userMatrix") play3d( par3dinterp( userMatrix=list(M,
2012 Mar 09
2
rgl: cylinder3d() with elliptical cross-section
For a paper dealing with generalized ellipsoids, I want to illustrate in 3D an ellipsoid that is unbounded in one dimension, having the shape of an infinite cylinder along, say, z, but whose cross-section in (x,y) is an ellipse, say, given by the 2x2 matrix cov(x,y). I've looked at rgl:::cylinder3d, but don't see any way to make it accomplish this. Does anyone have any ideas? thx,
2012 Jan 06
1
how to use rgl to plot dynamic orbit
Dear all, I have a question about the plotting of the dynamical orbit by using rgl. My code is as follows: open3d() par3d(cex=2) bg3d("white") for(i in 1:out.length){ ind<-which plot3d(x[1:i],y[1:i],out[,"z"][1:i],xlim=c(-10,10),ylim=c(-10,10),zlim=c(-10,10),col="red",cex=2) Sys.sleep(0.0001) } ,where x,y,out[,"z"] are the position of the object in
2009 Apr 07
2
Annotation rgl plot
Hi, i was wondering if there is a way to annotate rgl plot, after searching i haven't found anything suitable. I saw function text3d but was thinking more about text on the margin, so not interactive. Thanks -- View this message in context: http://www.nabble.com/Annotation-rgl-plot-tp22930428p22930428.html Sent from the R help mailing list archive at Nabble.com.
2011 Jun 18
1
[rgl] Dynamically change the color of 3d objects
Hi, I'm new here. This question concerns the package rgl. Is it possible to change the colour of a set of points drawn with plot3d /without/ removing them from the scene? The idea is to create a presentation of a clustering algorithm, step by step, representing the currently assigned cluster by a colour. Removing all the points with "rgl.pop" and replotting them at each step
2015 Nov 04
2
navigation mode(s) in rgl
Hello, I've CCd' Duncan Murdoch as the rgl maintainer, but I'm also keen to hear from the broader community of any insights. In rgl my understanding is that there's only one rotation-navigation mode, where you left-click hold and the view pivots abound the centre of the scene. In other tools, including Google Earth, that is the default behaviour but there's also a
2010 Apr 27
2
how to set chart output size in rgl (surface3d)?
Hi R users, Does anyone know how to change the size of 3d charts? I'm using surface3d in rgl package, opening a new window each time to display the chart. I want it so that the chart fills the whole window, because when I output it to png, I don't want all the white space around the chart (right now, i'm getting this white "border" around the chart because the chart is