Displaying 20 results from an estimated 700 matches similar to: "Question about contour3d and writeWebGL: rgl and misc3d package"
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
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.
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:
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]]
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)
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
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]]
2005 Oct 07
1
trouble installing AnalyzeFMRI package: please help
Hi,
Tried to install AnalyzeFMRI on Linux (FC-4) and got the following:
> install.packages("AnalyzeFMRI")
trying URL
'http://rh-mirror.linux.iastate.edu/CRAN/src/contrib/AnalyzeFMRI_1.1-4.tar.gz'
Content type 'application/x-gzip' length 308066 bytes
opened URL
==================================================
downloaded 300Kb
* Installing *source* package
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
2001 Sep 14
2
tkfilefind in tcltk on Windows2000
Hi,
The tkfilefind demo in the tcltk package doesn't seem to work for me in
Windows2000.
The demo script uses tkfilefind(".") which doesn't display the parent
directory so you can't browse around the whole drive.
Using tkfilefind() (which uses the default path getwd()) doesn't seem to
work for me at all.
I also tried tkfilefind("/") which worked fine but
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.
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.
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
2013 May 16
1
3d interactive video using the rgl package
Hi all,
I've been using the 'rgl' package to visualise in 3d the water temperature recorded by a glider deployed off the coast of Australia (see snapshot attached). Using the writeWebGL function, I'm able to produce an html file of the scene with which I can then interact (e.g. zoom in/out, rotate) in my web browser.
In R, I have created another scene that includes a loop
2006 May 12
1
DICOM package wont read my DICOM files
Hello there!
I hope there is someone out there who is using the DICOM package.
When Im trying to read my a DICOM file (MRI-data) I always get this
error:
> dicom.info("~/myfile")
Error in readBin(fid, integer(), length, size = 1) :
invalid value of 'n'
The DICOM files that come with the DICOM package work just fine.
I already tried both endian options.
I can view my
2003 Jun 11
2
Does the RPM for RH9 know about TCL/Tk
Sorry for the probable repeat post but I can only search the list up to
2002 (is there a better way?). I am using the RH9 RPM from CRAN but
packages like AnalyzeFMRI say that tcltk is not found. Do I need to do
more to get Tk GUIs working on RH9 or does the RPM not have tcltk support
built in (should I compile from source). Thanks in advance.
Take care.
-Morgan
2001 Oct 11
2
Where's MVA?
Hi All:
Package TSERIES is stated to depend on MVA. However, there is no MVA package to be found under the list of package sources.
Best wishes,
ANDREW
tseries: Package for time series analysis
Package for time series analysis with emphasis on non-linear and non-stationary modelling Version: 0.7-6
Depends: ts, mva, quadprog
Date: 2001-08-27
Author: Compiled by Adrian
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
2007 Apr 30
1
mirror's choice when installing a package for R-2.5.0 (PR#9643)
Hello,
Just a quick message to say that,
------------------------------------------------------------------------
-------
when choosing (with or without the tcltk window) "Bern 1 (swiss)" as
CRAN mirror to install
a package (function install.packages) for R-2.5.0, the list of
available packages
for osx seems not complete:
AMORE, AdaptFit, AlgDesign, AnalyzeFMRI, SemiPar,