Displaying 20 results from an estimated 100 matches similar to: "help with cube3d cube size"
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
2010 Sep 09
1
rgl and lighting
Dear R community (and Duncan more specifically),
I can't work out how to make additional light sources work in rgl.
Here is the example.
First I create a cube and visualize it:
> cubo <- cube3d(col="black")
> shade3d(cubo)
Next I position the viewpoint at theta=0 and phi=30:
> view3d(theta=0,phi=30)
Next, I want to create a 2nd light source which diffuses red light
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))
2011 Jan 31
1
rgl: draw multiple ellipsoids
Dear list,
I'm trying to visualise some ellipsoidal shapes in 3D. Their position,
axes, and angular orientation can be arbitrary. I saw an ellipse3d
function in rgl; however it is heavily oriented towards the
statistical concept of ellipse of confidence, whilst I am just
concerned with the geometrical object.
Below is my current implementation. It is quite slow when creating
many shapes, so
2008 Jan 29
1
drawing arrows with rgl
Hi,
I am looking for a package which allows me to draw arrows (cylinders
with cones on them, basically) in 3d images produced with rgl. Is such
a thing available?
I did notice the 'compositions' package, which contains
'arrow3D'. However, it relies on 'tensorA', which fails to install on
my machine with the error message copied below. If anyone can help me
fix this
2001 Jan 06
4
3D package in R
Hi all,
I am considering writing a 3D visualisation package for R.
Purposes:
- Visualise 3 dimension data
- Manipulate the data or series or any other object with the mouse as in any 3D software (3D Studio Max, Lightwave...)
- Eventually display more than just 3D objects.
Justification:
- It's always interesting to plot data before performing any analysis
- Manipulating (rotating,
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
2008 Oct 05
1
building packages: "R Help for package foo" vs. "HTML Help"?
In building a package, what are the settings in the package files or the
build commands that
determine whether the compiled HTML help windows have the window title
"R Help for package foo" vs. "HTML Help"?
I often have quite a few help files active, and it is much more
convenient to navigate among
them if the window has an informative title.
If this is simple to test for in
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 Jul 07
4
rgl movimiento
Hola a todos:
Estoy intentando visualizar unos resultados de un programa en R de forma
dinámica. Dichos resultados se pueden representar, básicamente, con un plano
que gira sobre uno de sus ejes: para dar sensación de movimiento he
utilizado la función rgl.clear(), ya que no encuentro los equivalentes en
rgl de los parámetros add o new. El problema es que al limpiar la pantalla
con rgl.clear la
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,
2008 Sep 01
1
play3d() translation
Hi All,
I would like to be able to use play3d() to translate the view along a
surface, and zoom in and out. All the examples in play3d() function
description are of rotations.
I would also like to know if there is a method of creating a legend of for
the 3d surface using rgl package.
Thanks in advance.
Chibisi
[[alternative HTML version deleted]]
2011 Feb 07
1
3D plots
Hi,
Which package is your favorite one to create 3D bar plots?
Which package is the easiest and fastest to use to your mind?
I tried to download the R.basic package that has plot3d integrated.
Unfortunately the installation from Henrik's webpage doesn't work.
Do you know where else to get it from? Is there an update? Or maybe an even
better package for plotting in 3D?
Thank you!
2013 Mar 30
1
Rgl
Dear r users,
I have two kinds of data I'm trying to represent in Rgl.
The first are measurements of soils: heights, diameters, and centerpoints
of each. I would typically represent these in 3d space as cylinders or
cones.
The second are radar data of the area under the solids , xyz plus amplitude
that I would like to represent as a point cloud.
Is there a currently implemented method to
2005 Oct 04
1
Rcmdr and scatter3d
Hi folks,
I'd like to use scatter3d (which is in R commander) to plot more than one
dataset in the same graph, each dataset with a different color. The kind
of stuff you would do with "holdon" in Matlab.
I read a recent message that was posted to this list with a similar
problem, but I couldn't understand the reply. Could someone give me one
example? How do you plot subgroups
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
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,
2008 Jul 14
0
rgl.snapshot on linux produces colored lines only
I'm having a problem with rgl.snapshot. If I run the following code *once* and *once only*, all is well.
data(trees)
attach(trees)
plot3d(Height, Girth, Volume, type='s')
rgl.snapshot("/home/user/pic.png", fmt="png", top=TRUE )
And the pic.png looks right. But if I try to rerun rgl.snapshot anytime again in this session, the file pic.png still outputs but is
2010 Oct 14
1
Ice Cube Rails problem
I''m using Ice_Cube to try and get the rule from a Model to be used to
create a schedule, like so:
@temp_sched.add_recurrence_rule
IceCube::Rule.from_yaml(Transaction.last.rule)
However this doesn''t seem to be the right thing, I just want to create
a new Rule using the rule specified for each Model.
IceCube::Rule.new(the rule) would be a good way, but this doesn''t seem
2010 Sep 17
1
Data Cube in R from CSV
Hello
I am at the moment trying to get to grips with a data cube in R, and I am
increasingly wondering whether I am actually making things unnecessarily
difficult for myself.
The idea is that I have a data cube with three dimensions (so a 3D matrix):
companies, figures, and years.
So along the z axis the vectors are essentially time series, the horizontals
are all about a single figure and the