[R] [rgl] Dynamically change the color of 3d objects

Fernando (Est - UnB) fernando.est.unb at gmail.com
Sat Jun 18 21:47:10 CEST 2011


Hi,

I'm new here.

This question concerns the package rgl.

Is it possible to change the colour of a set of points drawn with
plot3d /without/ removing them from the scene?

The idea is to create a presentation of a clustering algorithm, step
by step, representing the currently assigned cluster by a colour.
Removing all the points with "rgl.pop" and replotting them at each
step works, but is kinda slow...

Thanks!
Fernando.



More information about the R-help mailing list