Hello to all,I have a data file as Class V1 V2A -2.0 0.0A 0.9 0.7B 0.1 0.6C 4.1 0.4C 1.0 1.9B 1.1 0.5 I am plotting this data in R as V1 verses V2> temp<-read.table('temp.dat', header=T)> attach(temp)> plot (V1,V2, col='red')> text(x=V1, y=V2, labels=Class, pos=4) But I want to change the 'plotting symbol' by the 'Class of the row' (which is A,B,C).in other words "I want to use the A,B,C instead of red circle and want different color for each class e.g. Red for 'A', Green for 'B' and so on" How to do that ??Thanks in advance Regards Arvind
[[alternative HTML version deleted]]
______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.