Displaying 20 results from an estimated 20000 matches similar to: "Saving RGL Graphs"
2009 Jun 29
1
Export rgl plot3d scatter
Hello,
I have created a 3d scatter plot using plot3d. Is it possible to export the
resulting graph so that it can be placed in a pdf, powerpoint, or something
of the sort and still be able to rotate it?
Thanks
[[alternative HTML version deleted]]
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]]
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
2008 Mar 16
3
rgl build warnings and loading error on Linux
Dear useRs,
I have several problems in using rgl-0.77 (and recent earlier
versions) on Gentoo Linux with a custom-built v. 2.6.22 kernel.
Currently I use R-2.6.1.
When I build rgl,
# R CMD INSTALL "/home/liviu/inst/dwn/R/rgl_0.77.tar.gz"
or
install.packages("rgl", dependencies=TRUE, method ="wget"),
I notice the following warning messages:
i686-pc-linux-gnu-g++
2009 Dec 07
1
rgl keyboard shortcut for translation on Mac?
Hello Everyone.
I?m on a Mac, using rgl. Thanks to all the developers and maintainers on
it!
If I drag the mouse, I can rotate the view, if I hold down the option key or
the ctrl key and drag, I get scaling (though at times I seem to alter the
perspective?). Adding the shift key doesn't seem to modify anything.
So, what I can't find is a key combination that translates the object.
2009 Jun 23
1
Rainbow Colored Scatter Plot
Hello,
I have created a 3d scatter plot using the plot3d command in the rgl
package. I have approximately 6500 data points in the scatter plot.
I would like to color these points sequentially using the entire color
spectrum. (So the first point is red, next point slightly different, and
each point gradually changes so that the final point is violet.) Is anyone
familiar with how this can be done?
2005 Oct 05
3
transparent surface in rgl
Hi all
I am a complete newbie to this list (just subscribed) and a newcomer to
R (an S user from olden times). I have been using scatter3d to create a
3d scatter plot with surface. The graphic is created within the rgl
package and I have used rgl.postscript to export it so I can generate a
publication quality image. My problem is that the plotted surface is no
longer transparent in the
2009 Oct 25
3
Trying to save both an rgl plot and a bar plot errors
Hello,
I am basically using a script that is designed to first create an rgl 3d scatter plot followed by a barplot on the same data. After this is done, the program is to first save the barplot as a .tiff file then to save the rgl 3d graph as a .png file. Once this is done, it is to repeat this 3d plot and barplot combo with saving 49 more times. The plotting script excerpt will be posted at the
2009 May 29
1
labels in rgl.sphere
Dear R list
I am using rgl.sphere to visualize scatter plot data in three
dimensional space.
Thanks to the rgl library, I can easily find out the data point that I
am interested in.
However, as I can not see the labels of each data point directly in
RGL window,
I usually look for the values of x, y, z axis to find out the label
(or line number of the data point).
Is there any way that I
2011 Dec 09
1
rgl.postscript() failure when saving a scene
Dear all,
I write to the community to know if other people
expierenced the same problem. I want to save a rgl
scene where I plotted a 3d cloud of spheres whose
radius is set proportional to a given variable and
coloured by another group variable and with 95%
ellipsoids for distribution of any group.
I had no problem at all for coding but I had two
problem when saving the scene (in any format)
2009 May 11
1
3d Scatterplot using rgl
Hi,
I am trying to plot a 3d scatter plot using the rgl package but am having trouble.
I have a matrix containing x, y and z co-ordinates and a fourth element related to a count variable.
I would like to plot the points using plot3d with the sizes of the points related to the fourth element in the matrix. Is this possible with plot3d or do I need to use something else?
I include a small example
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
2008 Aug 13
3
rgl/compiz problem
I have just encountered the problem with rgl where plot3d figures
don't interact with the mouse. My plots zoom in and out with the mouse
wheel but the mouse buttons do nothing. I can't rotate the plot.
This has been mentioned and discussed here and in other lists before,
and the solution is to turn off Ubuntu's fancy graphics. Back in
March, Ben Bolker said:
"""
2012 Oct 08
1
3d polar coordinates in rgl function view3d()
Dear all:
I'm enjoying using rgl and I want to set a specific viewpoint.
I understand that view3d() will do so by setting the 3d polar
coordinate angles, theta and phi.
In standard polar coordinates, theta is the angle away from the X axis
in the X-Y plane and phi (inclination angle) is the angle between the
Z axis and the radius vector
It appears that when you use view3d() theta is
2011 Aug 09
1
rgl how to plot a cylinder like arrow3d?
Dear List,
I'm trying to draw vector in XYZ with rgl under use of a cylinder3d.
Therefore I scale and rotate a basis-cylinder).
However, somehow the rotation is wrong as
verified by overplotting arrow3d().
Where is my mistake?
library(heplots)
library(rgl)
# ... 2 vectors
data=data.frame(row.names=c('X','Y','Z'), x1=c(2,1,5),y=c(4,3,2))
2006 Nov 01
2
installing rgl package on linux suse 10.1
Dear R wizards,
In windows I get really cool graphs with the rgl package.
However on linux, it seems that I can't install one of my favourite packages.
I get a error message on X11, but all X11 packages are installed on my linux
desktop.
Who can help me out here?
Thanks!
Steven Gorl?
>install.packages()
* Installing *source* package 'rgl' ...
checking for gcc... gcc
checking
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
2010 Dec 06
10
R crashes when making graphs
hi,
i am running R with JGR and Deducer under Ubuntu Mint Lucid. since i updated to R 2.12 i can no longer make graphs - R just crashes.
the full error report was posted to launchpad (https://bugs.launchpad.net/ubuntu/+source/openjdk-6/+bug/675905) without any success so far.
anyone with a similar problem or helpful suggestions?
thanks!
kat
2009 Apr 08
1
persp3d and rgl.viewpoint for rotating 3D plots
Dear R-users,
within the rgl-package, I would have a question about the usage of persp3d in combination of rgl.viewpoint.
I am not able to figure out how to let a 3D plot rotating around likewise the example in ?rgl.viewpoint. It seems that when I use persp3d(...) I see something on my screen, which is different from what I get when it's rotating. Is there any different behavior between
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