[R] looking for 3D plotting with real-time rotation

John Fox jfox at mcmaster.ca
Tue Mar 1 23:05:09 CET 2005


Dear Ben,

The scatter3d() function in the Rcmdr package uses rgl to plot
rotatable point clouds and regression surfaces. The function is usable
with or without the Rcmdr GUI. You'll find an illustrative plot at
<http://socserv.socsci.mcmaster.ca/jfox/Courses/S-course/index.html>.

I hope this helps,
 John

On Tue, 1 Mar 2005 16:48:47 -0500
 "Wittner, Ben" <Wittner.Ben at mgh.harvard.edu> wrote:
> I would like to plot points in 3D and then be able to rotate the plot
> in real
> time in order to understand the distribution of the points using the
> visual
> parallax that results from the rotation.
> 
> The R-package scatterplot3d will plot in 3D, but I've not found a way
> to rotate
> the results in real time. (It also does not seem to get the
> projection from 3D
> to a viewing plane right.)
> 
> The R-package rgl seems to support real-time 3D rendering using
> OpenGL, but it
> appears to be lower-level than I'm looking for (i.e., it provide
> graphics
> primitives, but not a plotting function that would take care of axis
> labels,
> etc.)
> 
> Any help would be appreciated.
> 
> Thanks.
> 
> -Ben
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide!
> http://www.R-project.org/posting-guide.html

--------------------------------
John Fox
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
http://socserv.mcmaster.ca/jfox/




More information about the R-help mailing list