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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
They were produced by persp() and image(), both are in the R base. Try example(persp) and example(image). --- pawel <pgajer at math.jhu.edu> wrote:> 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 >_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ __________________________________________________ Terrorist Attacks on U.S. - How can you help? Donate cash, emergency relief information http://dailynews.yahoo.com/fc/US/Emergency_Information/ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Hola! One package doing 3d plots is scatterplot3d, but the ones you are referrin to are in base R: try demo("graphics") at the R prompt, and try ?image ?contour Kjetil Halvorsen pawel wrote:> > 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>>>>> On Wed, 19 Sep 2001 13:19:47 -0400, >>>>> kjetil halvorsen (kh) wrote:> Hola! > One package doing 3d plots is scatterplot3d, but the ones you are > referrin to are in base R: try > demo("graphics") at the R prompt, and try > ?image > ?contour I think help(persp) example(persp) is closer to what Pawel wants if he refers to 3d plots (persp is also contained in R base). Best, Fritz -- ------------------------------------------------------------------- Friedrich Leisch Institut f?r Statistik Tel: (+43 1) 58801 10715 Technische Universit?t Wien Fax: (+43 1) 58801 10798 Wiedner Hauptstra?e 8-10/1071 Friedrich.Leisch at ci.tuwien.ac.at A-1040 Wien, Austria http://www.ci.tuwien.ac.at/~leisch ------------------------------------------------------------------- -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._