Re: [R] plot3d, color points by group

2011-02-18 Thread Dieter Menne
Kari-4 wrote: > > > I've created a 3d scatterplot, and had no problems labeling the points. > However, I've been really struggling to change the color of the points > based > on a factor (see 'group' below). Is such a thing possible? > > Its always polite to make the example self-running by

[R] plot3d, color points by group

2011-02-18 Thread Kari
Hello I've created a 3d scatterplot, and had no problems labeling the points. However, I've been really struggling to change the color of the points based on a factor (see 'group' below). Is such a thing possible? My data look like this: food group x y z apple fruit 0.216 -0.11