Skip to content

Plotting 3d surfaces

5 messages · Uwe Wolfram, Barry Rowlingson, Ben Bolker +2 more

#
Dear Subscribers,

I am using R for quite a while nowadays on Ubuntu 10.04 LTS. I a using R
for doing my statistics. Furthermore I am using it as a tool to generate
the graphics for my publications.

I am currently working on a project which involves nls-fits of three
dimensional surfaces such as ellipsoids or even more complex. I have
been searching R help and the manuals for a possibility to plot these
surfaces. Is there any package in R that allows plotting something like
this:

http://uwwo.in-chemnitz.de/R-Problem/tsai-wu-principal-strain.pdf

This plot was generated using Mathematicas ContourPlot3D function. I
would love to be able to plot this in R. However, I could not find
something which could this. 

Thanks a million for the help!

Uwe
#
On Thu, Dec 9, 2010 at 4:20 PM, Uwe Wolfram <uwwo at in-chemnitz.de> wrote:
The package you need for all things three-dimensional is 'rgl'.
Install, read docs, play!

Barry
#
Barry Rowlingson <b.rowlingson <at> lancaster.ac.uk> writes:
Also see the scatter3d function in the Rcmdr package.

library(sos)
findFn("ellipsoid")

finds other bits and pieces: plotsubspace() in MCMCglmm, etc.
#
Dear Ben,

Though still accessible through the Rcmdr, the scatter3d() function has been moved to the car package.

Best,
 John

On Thu, 9 Dec 2010 19:41:12 +0000 (UTC)
Ben Bolker <bbolker at gmail.com> wrote:
------------------------------------------------
John Fox
Sen. William McMaster Prof. of Social Statistics
Department of Sociology
McMaster University
Hamilton, Ontario, Canada
http://socserv.mcmaster.ca/jfox/
#
On 09/12/2010 11:20 AM, Uwe Wolfram wrote:
As others have mentioned, rgl can plot surfaces.  You might want to also 
look at misc3d, which can compute 3d contours to be plotted by rgl (or 
other graphics systems).

Duncan Murdoch