Displaying 1 result from an estimated 1 matches for "y_w".
Did you mean:
y_
2008 Sep 10
1
Color coding plotted numbers
...on, I would like to color code the sample numbers
by group, but can't find a way to color-code the sample numbers by group.
So, I have to do it in two separate steps:
plot(bulbil.pca, col=as.numeric(group.bulbil[,3]),
pch=as.numeric(group.bulbil[,3])) # group.bulbil[,3] is grouping
plot(x_w,y_w,type="n")
text(x_w,y_w,labels=group.bulbil[,1]) ##group.bulbil[,1] contains sample
numbers
Is there a way to plot the sample numbers and color-code them on one graph?
Thanks for any help.
Wade
[[alternative HTML version deleted]]