search for: contour3d

Displaying 19 results from an estimated 19 matches for "contour3d".

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= "AnalyzeFMRI")) a <- a[,,,1] contour3d(a, 1:64, 1:64, 1.5*(1:21), lev=c(3000), alpha =...
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....
2011 May 12
2
Exporting interactive 3D plots with axes and labels
...ut 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) decorate3d(xlim=lim,ylim=lim,zlim=lim,xlab="Variable X",ylab="Variable Y",zlab="Variable Z") 1. I know thanks to Luke Tierney (www.stat.uiowa.edu/~luke/R/misc3d/misc3d-pdf/misc3d-pdf.pdf) how to export the 3D plot without the ax...
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...
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]]
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 achiev...
2006 Jun 06
0
misc3d_0.4-0 now available on CRAN
Release 0.4-0 of package misc3d is now available from CRAN. This package provides a small collection of functions for 3D plotting, including 'contour3d' for computing and rendering 3D contours or isosurfaces and 'parametric3d' for rendering parameterized surfaces. A major change in this release is that rendering in standard and grid graphics is now supported in addition to rgl. To support rendering in standard and grid graphics the p...
2006 Jun 06
0
misc3d_0.4-0 now available on CRAN
Release 0.4-0 of package misc3d is now available from CRAN. This package provides a small collection of functions for 3D plotting, including 'contour3d' for computing and rendering 3D contours or isosurfaces and 'parametric3d' for rendering parameterized surfaces. A major change in this release is that rendering in standard and grid graphics is now supported in addition to rgl. To support rendering in standard and grid graphics the p...
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
2008 Dec 11
4
how to plot implicit functions
Dear R users -- I think this question was asked before but there was no reply to it. I would appreciate any suggestion any of you might have. I am interested in plotting several "implicit functions" (F(x,y,z)=0) on the same fig. Is there anyone who has an example code of how to do this? Thank you Yihsu
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 values...
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 values...
2016 Apr 04
0
Question about function DrawDensity3D {VecStatGraphs3D}
...", "X", "Y", "Z") i <- c(1, 2, 1, 3, 1, 4) text3d(x, y, z, labels, adj = 0.8, cex = 1.5, font = 2, color = "black") segments3d(x[i], y[i], z[i], lwd = 3) rgl.points(x = Cx, y = Cy, z = Cz, size = 3, color = "black") contour3d(Cr$d, level = th[c(-1, -(Layers + 2))], x = Cr$x, y = Cr$y, z = Cr$z, alpha = al, color = colo, add = TRUE, engine = "rgl", fill = TRUE, smooth = 2, material = "shiny") if (DrawAxes == TRUE) { axes3d() } }
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]]
2009 Oct 04
2
is that possible to graph 4 dimention plot
Suppose there are 4 variables d is a function of a , b and c I want to know how a, b and c change will make d change It will be straightforward to see it if we can graph the d surface if d is only a function of a and b, I can use 'persp' to see the surface of d. I can easily see at what values of a and b, d will get the maxium or minium or multiple modes, etc But for 4 dimention graph,
2011 Aug 17
2
3D surface plot
I have what is probably a noob question, but.... I am trying to create a 3d plot to illustrate the range of values for the following simple function: A = B*(C/D) B, C, and D are independent variables whose range are equal (e.g. 1 to 3 inclusive) I figure it's not possible to map the surface of A on the 3d space defined by B, C and D but I would like to create a surface defined by the
2010 Mar 15
1
Eliminate border in wireframe plot
How can I eliminate the border drawn by default around a wireframe plot? I've tried using border=NA and box=FALSE to no avail. Scott Waichler Pacific Northwest National Laboratory scott.waichler at pnl.gov
2011 Oct 15
2
Irregular 3d objects with rgl
Hello, While exploring if rgl is along the lines of what I need, I checked out demo("rgl") and didn't find quite what I'm looking for, and am therefore seeking additional help/suggestions. The application is geared towards displaying a 3D rendering of a contaminant plume in the subsurface with the following highlights: Once the plume was rendered as a 3D object, a