[R] 3d images

Liaw, Andy andy_liaw at merck.com
Wed Sep 19 20:34:19 CEST 2001


You're so very right!  I did not realize persp in R does shading (and other
tricks) that its counterpart in Splus cannot.  example(persp) shows the
capabilities very nicely.

Cheers,
Andy

> -----Original Message-----
> From: Ben Bolker [mailto:ben at zoo.ufl.edu]
> Sent: Wednesday, September 19, 2001 2:23 PM
> To: Liaw, Andy
> Cc: 'pawel'; R-help at stat.math.ethz.ch
> Subject: RE: [R] 3d images
> 
> 
> 
> 
>   Actually, I think you're wrong ... previous correspondent noted that
> these are generated by persp() [and that the scatterplot3d 
> library is also
> useful for 3D graphics, particularly since it includes primitives for
> plotting points and lines in an existing 3D perspective].
> 
>   As has probably also been pointed out, xgobi is another tool for
> rotation of point clouds.
> 
>   If anyone is interested, I have a cobbled-together solution for
> 3D-rotatable graphics; it actually uses a Java applet that 
> someone else
> wrote -- my code is R code to translate a surface into Mathematica
> graphics format (!), which is what the Java applet reads as 
> its input file
> (see http://www.zoo.ufl.edu/bolker/emd-2000/surf2.html for an 
> example).
> 
>   Ben Bolker
> 
> On Wed, 19 Sep 2001, Liaw, Andy wrote:
> 
> > I believe you're seeing the output of Duncan Murdoch's Rgl 
> package, which
> > links OpenGL to R.  On screen, one can use the mouse to 
> rotate the 3D
> > object.
> >
> > AFAIK this is only available on Duncan's web site (do a 
> google search on his
> > name and you'll see it).  Currently it only runs on 
> Windoze.  There's a
> > paper in the DSC-2001 proceeding (link from the official R 
> web site).
> >
> > Andy
> >
> > > -----Original Message-----
> > > From: pawel [mailto:pgajer at math.jhu.edu]
> > > Sent: Wednesday, September 19, 2001 12:25 PM
> > > To: R-help at stat.math.ethz.ch
> > > Subject: [R] 3d images
> > >
> > >
> > > Hi,
> > > The screenshots page of the R-project contains nice 3d
> > > images: "3d plot
> > > of a surface" and "image and 3d plot of a volcano".
> > > What packages were used to generate these images?
> > > Or
> > > What packages have 3d plotting capabilities?
> > > thanks
> > > pawel
> > >
> > >
> > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
> > > -.-.-.-.-.-.-.-.-
> > > r-help mailing list -- Read
> > > http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> > > Send "info", "help", or "[un]subscribe"
> > > (in the "body", not the subject !)  To:
> > > r-help-request at stat.math.ethz.ch
> > > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
> > > _._._._._._._._._
> > >
> >
> > 
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.
> -.-.-.-.-.-.-.-.-
> > r-help mailing list -- Read 
> http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> > Send "info", "help", or "[un]subscribe"
> > (in the "body", not the subject !)  To: 
> r-help-request at stat.math.ethz.ch
> > 
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._.
> _._._._._._._._._
> >
> 
> -- 
> 318 Carr Hall                                bolker at zoo.ufl.edu
> Zoology Department, University of Florida    
> http://www.zoo.ufl.edu/bolker
> Box 118525                                   (ph)  352-392-5697
> Gainesville, FL 32611-8525                   (fax) 352-392-3704
> 
> 

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list