[R] 'Dynamic' 3D plot

Tony Breyal tony.breyal at googlemail.com
Fri May 8 11:43:57 CEST 2009


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.




More information about the R-help mailing list