Hi, I am looking for a R package to draw 3d plot. But not in a static way like scatterplot3d or stuff like that. I would like to make rotate the plot, to zoom/unzoom etc..., actually to render the graph 'dynamic'... (for the biologist and bioinformatician, a R package which permitts to reproduce what pdb viewer does). Does a Way exist to do something like that in R ? Thanks, _________________________________________________________________ Inédit ! Des Emoticônes Déjantées! Installez les dans votre Messenger ! [[alternative HTML version deleted]]
Hi Martial, The rgl package is quite nice for this sort of thing: # this is the example in ?plot3d library(rgl) open3d() x <- sort(rnorm(1000)) y <- rnorm(1000) z <- rnorm(1000) + atan2(x,y) plot3d(x, y, z, col=rainbow(1000)) HTH, Tony Breyal On 8 May, 09:25, Martial Sankar <martial100... at hotmail.com> wrote:> Hi, > > I am looking for a R package to draw 3d plot. But not in a static way like scatterplot3d or stuff like that. I would like to make rotate the plot, to zoom/unzoom etc..., actually to render the graph 'dynamic'... (for the biologist and bioinformatician, a R package which permitts to reproduce what pdb viewer does). > > Does a Way exist to do something like that in R ? > > Thanks, > > _________________________________________________________________ > In?dit ! Des Emotic?nes D?jant?es! Installez les dans votre Messenger ! > > ? ? ? ? [[alternative HTML version deleted]] > > ______________________________________________ > R-h... at r-project.org mailing listhttps://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guidehttp://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code.
Hi Tony, Am Freitag, den 08.05.2009, 14:06 +0100 schrieb Tony Breyal:> Hi mate, > > i think you mistakenly emailed this message only to me rather than the > whole list. > > Tony.Thank you for forwarding my mail to the list. I post to seldom to r-help. And I am used from other mailing list simply to reply the postings. Regards Juergen> 2009/5/8 Juergen Rose <rose at rz.uni-potsdam.de> > Am Freitag, den 08.05.2009, 02:43 -0700 schrieb Tony Breyal: > > Hi Martial, > > > > The rgl package is quite nice for this sort of thing: > > > > # this is the example in ?plot3d > > library(rgl) > > open3d() > > x <- sort(rnorm(1000)) > > y <- rnorm(1000) > > z <- rnorm(1000) + atan2(x,y) > > plot3d(x, y, z, col=rainbow(1000)) > > Did somebody try to move the view of the resulting picture and > record > this movement with gtk-recordMyDesktop? If I try this, I see > in the > resulting ogv file the movement of the cursor but not the > movement of > the coordinate axis. Only at the end the picture jumps to the > final > position. > > > HTH, > > Tony Breyal > .. > > On 8 May, 09:25, Martial Sankar <martial100... at hotmail.com> > wrote: > > > Hi, > > > > > > I am looking for a R package to draw 3d plot. But not in a > static way like scatterplot3d or stuff like that. I would like > to make rotate the plot, to zoom/unzoom etc..., actually to > render the graph 'dynamic'... (for the biologist and > bioinformatician, a R package which permitts to reproduce what > pdb viewer does). > > > > > > Does a Way exist to do something like that in R ? > > > > > > Thanks, > > > > > > > _________________________________________________________________ > > > In?dit ! Des Emotic?nes D?jant?es! Installez les dans > votre Messenger ! > > > > > > [[alternative HTML version deleted]] > > > > > > ______________________________________________ > > > R-h... at r-project.org mailing > listhttps://stat.ethz.ch/mailman/listinfo/r-help > > > PLEASE do read the posting > guidehttp://www.R-project.org/posting-guide.html > > > and provide commented, minimal, self-contained, > reproducible code. > > > > ______________________________________________ > > R-help at r-project.org mailing list > > https://stat.ethz.ch/mailman/listinfo/r-help > > PLEASE do read the posting guide > http://www.R-project.org/posting-guide.html > > and provide commented, minimal, self-contained, reproducible > code. > -- > Juergen Rose <rose at rz.uni-potsdam.de> > Uni Potsdam > >-- Juergen Rose <rose at rz.uni-potsdam.de> Uni Potsdam
Some options: The rgl package The Rggobi package (along with the ggobi program) The rotate.cloud function in the TeachingDemos package (or tkexamp in the same package for a way to GUIize your favorite plot) -- Gregory (Greg) L. Snow Ph.D. Statistical Data Center Intermountain Healthcare greg.snow at imail.org 801.408.8111> -----Original Message----- > From: r-help-bounces at r-project.org [mailto:r-help-bounces at r- > project.org] On Behalf Of Martial Sankar > Sent: Friday, May 08, 2009 2:26 AM > To: rhelp > Subject: [R] 'Dynamic' 3D plot > > > Hi, > > I am looking for a R package to draw 3d plot. But not in a static way > like scatterplot3d or stuff like that. I would like to make rotate the > plot, to zoom/unzoom etc..., actually to render the graph 'dynamic'... > (for the biologist and bioinformatician, a R package which permitts to > reproduce what pdb viewer does). > > Does a Way exist to do something like that in R ? > > Thanks, > > > > _________________________________________________________________ > In?dit ! Des Emotic?nes D?jant?es! Installez les dans votre Messenger ! > > [[alternative HTML version deleted]]