Displaying 20 results from an estimated 300 matches similar to: "Drawing a line with misc3d"
2005 Jul 11
3
misc3d package
Hi,
I am trying to install the misc3d package on a Windows (XP) installation of R 2.0.1 using install.packages("misc3d") but with no success. I have used this approach with other packages OK, but for misc3d I get the following output...
trying URL `http://cran.r-project.org/bin/windows/contrib/2.0/PACKAGES'
Content type `text/plain; charset=iso-8859-1' length 27996 bytes
2009 Apr 28
1
image3d in misc3d
Hi,
I'm trying to make sense of the image3d plots in misc3d. Unfortunately I can't find any authors on the help pages of the function to e-mail directly. In the following toy example, I'm puzzled as to why (1) the positions of the image plot on the axes include negative values when I think I've specified all to be 1:3 and (2) the logic that needs to be adhered to in order to
2010 Mar 03
2
Screen settings for point of view in lattice and misc3d
I'm making some 3D plots with contour3d from misc3d and wireframe from lattice. I want to view them from below; i.e. the negative z-axis. I can't figure out how to do so. I would like my point of view looking up from below, with the z, y, and x axes positive going away. Can anyone tell me the correct settings for screen to achieve this? Here is what I've found so far:
2005 Jun 04
0
New CRAN package misc3d
The misc3d package provides a small collection of mostly rgl-based
functions for 3D data:
contour3d Uses rgl to render isosurfaces, or three-dimensional
contours, computed by the marching cubes algorithm.
image3d Crude 3d analog of image() using rgl to plot points on a
three dimensional grid representing values in a three
dimensional array. Assumes high
2005 Jun 04
0
New CRAN package misc3d
The misc3d package provides a small collection of mostly rgl-based
functions for 3D data:
contour3d Uses rgl to render isosurfaces, or three-dimensional
contours, computed by the marching cubes algorithm.
image3d Crude 3d analog of image() using rgl to plot points on a
three dimensional grid representing values in a three
dimensional array. Assumes high
2013 Mar 10
1
misc3d Contour export to vtk
So I wanted to export a contour3d object into VTK and it worked well
enough, except the top of the ball (the contour) was missing. Example
below, or gist here:
https://gist.github.com/muschellij2/5126544
rm(list=ls())
require(misc3d)
f <- function(x, y, z) x^2+y^2+z^2
x <- seq(-2,2,len=20)
ball <- contour3d(f,4,x,x,x, draw=FALSE)
drawScene.rgl(ball)
### get the triangles
allids
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)
2010 Apr 15
3
Exporting an rgl graph
Hi the list,
I use rgl to produce a 3D graph. I would like to "show" this graph to
some collaborator. Is there a way to save it and send it to someone
else?
Christophe Genolini
2013 Nov 08
1
how to derive true surface area from `computeContour3d' (misc3d package) -- follow up
regarding my previous mail for this topic, I have in the meantime
identified my misconception.
actually, `computeContour3d' returns the vertices just fine in the correct
coordinate frame.
the misconception was caused basically by assuming that the `level'
argument was a fractional
threshold relative to the maximum of the array. so I believed that the
rendered cube actually
is
2012 Nov 16
2
Question about contour3d and writeWebGL: rgl and misc3d package
I saw that in rgl:::writeWebGL that "Polygons will only be rendered as
filled; there is no support in WebGL for wireframe or point rendering.". I
found that you can easily use contour3d to make reproducible contour web
figures, such as (taken from contour3d help)
library(AnalyzeFMRI)
a <- f.read.analyze.volume(system.file("example.img", package=
2008 Jul 01
2
Problem with loading library-ks
Hi,
I am trying to load the library(ks), but I am getting the following error:
Loading required package: KernSmooth
KernSmooth 2.22 installed
Copyright M. P. Wand 1997
Loading required package: mvtnorm
Loading required package: rgl
Loading required package: misc3d
Error in lazyLoadDBfetch(key, datafile, compressed, envhook) :
ReadItem: unknown type 241
In addition: Warning messages:
1:
2006 May 23
1
shapes in rgl
Does anyone have a way of producing solid shapes other than spheres in
rgl? I am using rgl to produce a simple visualisation of a forest model
results using "lollipops". Its just a bit of fun, but as many of the
trees are pines I would like to depict their crowns as cones. If there
is a solution I need it to work under windows.
Here is the example.
library(rgl)
library(misc3d)
2010 Feb 11
2
Using contour3d: axes, plotting to file, with lattice
I am looking for examples of how to plot with contour3d() to a PNG or PDF file, add axes and other elements to the isosurface plot, and use contour3d in conjunction with lattice. Regarding lattice, I'm not necessarily looking for conditioning on the data shown in the isosurface plots, just a way to show multiple plots in one figure and label them. I am new to the packages misc3d and rgl.
2011 Jul 13
2
3D density plot of point set
Hello everybody,
I would like to solve the problem described below in R (if
possible). I am very new to R and have therefore no idea what to
even look for in the docu. Therefore, if someone could tell me if
this is possible in R and where I might find the respective docu
then I would already be very thankful.
I have a large set (a few million) of points in 3D. I would like to
create a
2011 Aug 03
2
r-help
Hey,
Is there any function plotting several "implicit functions" (F(x,y)=0) on the same fig. Is there anyone who has an example code of how to do this?
The contour3d function in the misc3d package only work with the functions with three dimensions.
Thanks a lot.
Many thanks for your help.
KnifeBoot
[[alternative HTML version deleted]]
2012 Nov 05
2
exporting 3D dynamic graph
Hi the list,
Using misc3d, we can export 3d dynamic graph in pdf format.
Is it also possible to export these graph into a format that we can publish on the web?
Christophe
--
Christophe Genolini
Maître de conférences en bio-statistique
Vice président Communication interne et animation du campus
Université Paris Ouest Nanterre La Défense
[[alternative HTML version deleted]]
so current status of interactive PDF creation isl? trying to explore econometriic convergence thread
2011 May 23
1
so current status of interactive PDF creation isl? trying to explore econometriic convergence thread
I think I just saw a thread go by on " how do I make interactive PDF from
rgl output" but I ignored it at the time and can't seem to find consensus result
on google. Essentially I wanted to create pdf or other output to
share a 3D plot and let viewers interact with it but it still wasn't
clear on easiest way to do this.
Is this 2009 page the best reference?
2017 Aug 04
2
Layer problem in DrawDensity3D (VecStatGraphs3D)
Hi,
When plotting the density estimation with DrawDensity3D-function (in
package VecStatGraphs3D) it often happens that the end product ie.
layers are not intact , see figure in the link:
https://www.dropbox.com/s/vzyaiu0vso8hjw2/20623868_10213333234554853_1371245353_n.png?dl=0
Can we somehow effect on that an get intact layers?
--
Atte Tenkanen
2006 Feb 02
3
is there a way to visualize 3D normal distributions?
Hi all,
How do I visualize a contour of a tri-variate normal distribution?
I just like to see the ellipsoid very much. I hope there is a easy way or
existing method in R.
Thank you a lot!
Michael.
[[alternative HTML version deleted]]
2010 Aug 27
2
export 4D data as povray density files
Dear list,
I wish to visualise some 4D data as a kind of colour / translucent
cloud in 3D. I haven't seen such plots in R (but perhaps I missed a
feature of rgl). The easiest option I found would be to export the
data in povray's df3 (density file) format and visualise it with
povray.
The format specification baffles me a little,
http://www.povray.org/documentation/view/3.6.1/374/ ;