Skip to content
Prev 171205 / 398506 Next

3D or 4D plot

On 2/20/2009 10:50 AM, kapo coulibaly wrote:
There are lots of ways, depending on what you want the plot to look 
like.  One is

library(rgl)
plot3d(x, y, z, col=color)

(assuming you also have a variable indicating the color to plot).

Duncan Murdoch