Displaying 20 results from an estimated 10000 matches similar to: "rgl/compiz problem"
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
2010 Jul 27
1
rgl package don't draw points with a color over points with another color
I want to plot points with different colors to show different
selections of points in a 3d plot.
My problem is that if I plot a red point at a location where already a
blue point was plotted, than the point is still blue.
Is there a parameter or so which can be used to draw over a existing point?
Example:
> require(rgl)
> open3d()
> plot3d(a<-c(1,2,3,4,5),a,a,type="l",
2016 Jan 08
5
rgl.snapshot only captures a small portion what's visible in the RGL device window on CentOS 7
Hello,
As an example, I ran the following code:
library("rgl")
example(plot3d)
rgl.snapshot("test.png")
The full plot is visible in the window titled RGL device 1 [Focus], but only a small
2016 Jan 08
5
rgl.snapshot only captures a small portion what's visible in the RGL device window on CentOS 7
Hello,
As an example, I ran the following code:
library("rgl")
example(plot3d)
rgl.snapshot("test.png")
The full plot is visible in the window titled RGL device 1 [Focus], but only a small
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 Jul 23
1
greek letters in rgl plot3d
Dear RGL experts,
I haven't been able to add greek letters to my rgl plot3d.
I have tried "expression" with no success.
Here is the interested bit:
> library(rgl)
> cb <- cube3d()
> plot3d(cb,xlab=expression(alpha),ylab="",zlab="",box=FALSE,alpha=0.5)
The expression(alpha) appears as "alpha", rather than as a greek symbol.
I suspect greek
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 08
3
'Dynamic' 3D plot
Hi,
I am looking for a R package to draw 3d plot. But not in a static way like scatterplot3d or stuff like that. I would like to make rotate the plot, to zoom/unzoom etc..., actually to render the graph 'dynamic'... (for the biologist and bioinformatician, a R package which permitts to reproduce what pdb viewer does).
Does a Way exist to do something like that in R ?
Thanks,
2019 Jan 18
2
plot3d con library(rgl)
Buenas tardes. ¿Sabe alguno de vosotros cómo indicar la variable con
la que identificar los puntos con plot3d?
library(rgl)
plot3d(Data$RTLML,Data$JD,Data$SB)
Las muestras pertenecen a una de dos categorías, según la variable
"Family", pero no sé cómo hacer que me las represente de diferente
color.
Gracias,
Manuel
.
--
Dr Manuel
2023 Jan 26
1
Failing to install the rgl package
Hi,
I try to execute the seven lines of code below to plot a graph. But I
am failing as the messages below show. Where am I going wrong?
install.packages("rgl")
library(rgl)
y_hat = X%*%B_hat
open3d(windowRect = c(100,100,900,900),family = "serif")
color = rainbow(length(y_hat))[rank(y_hat)]
plot3d(educ,exper,wage,col = color,type = "s",size = 0.5,xlim =
2008 Oct 10
2
rgl-snapshot failed (err-msg: "failed")
Hello,
I tried to use rgl.snapshot and it failed.
The error message was not very verbose:
======================
>
>
> plot3d( motion[[idx+2]], motion[[idx+1]], motion[[idx]] )
> rgl.snapshot(filename="/tmp/shot_01.png", fmt="png")
[1] "failed"
>
======================
There was a graphic created by rgl, but the snapshot was
not created.
The
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
2008 Jan 06
3
Can a dynamic graphic produced by rgl be saved?
Dear r-helpers,
Can one save a dynamic graphic produced by rgl, e.g.:
open3d(); x <- sort(rnorm(1000)); y <- rnorm(1000); z <-
rnorm(1000) + atan2(x,y); plot3d(x, y, z, col=rainbow(1000), size=2)
as a dynamic figure that can be embedded in a pdf?
_____________________________
Professor Michael Kubovy
University of Virginia
Department of Psychology
USPS: P.O.Box 400400
2007 Jul 07
3
color scale in rgl plots
Hello,
I'm trying to make a 3d plot using rgl in which the size and color of
each point corresponds to certain attributes of each data point. The color
attribute, let's call it X, is scaled to go from 0 to 1. The
rainbow(64,start=0.7,end=0.1) palette is perfect for what I want but I
don't know how to take that palette and pick a color from it based on
the value of X for a given data
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
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
2017 Oct 19
1
overlaying points and lines on a surface3d rgl plot with axes
Hi R users and experts,
I am interested in learning more about the use of 3D plots. Specifically, I
want to add points and lines to a surface plot. And get the axes and labels
plotted also. Here is what I have tried with an example data set :
library(rgl)
vol2 <- 2*volcano # Exaggerate the relief
library(reshape)
mvol2 <- melt(vol2)
str(mvol2)
# First, persp and persp3d plots do not succeed
2012 Jul 10
1
RGL 3D curvilinear shapes
Dear useRs,
I'm trying to simply fill in the area under a curve using RGL. Here' the set
up:
x <- c(0.75,75.75,150.75,225.75,300.75,375.75,450.75,525.75,600.75,675.75,
0.5,50.5,100.5,150.5,200.5,250.5,300.5,350.5,400.5,450.5,
0.25,25.25,50.25,75.25,100.25,125.25,150.25,175.25,200.25,225.25)
y <- c(0.05,4.91,9.78,14.64,19.51,24.38,29.24,34.11,38.97,43.84,
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]]
2007 Apr 09
5
Python plugin (Python API for Compiz)
Here is my python loader plugin which loads plain python
scripts as full plugins.
There is not much documentation, but I have included a few
examples to get you going.
triangle - Just a basic plugin which shows a triangle on a button
press. This shows using ctypes to pass values from compiz to the
python opengl bindings.
basiczoom - Zooms in on the screen (basically)
inactive - This is a port