Re: [R] R-help Digest, Vol 35, Issue 7

From: Evgeniy Kachalin <ka4alin_at_yandex.ru>
Date: Sun 08 Jan 2006 - 01:32:51 EST

Hello, dear participants!

Could you tip me, is there any simple and nice way to build scatter-plot for three different types of data (, and o and * - signs, for example) with legend.

Now i can guess only that way:

plot(x~y,data=subset(mydata,factor1=='1'), pch='.',col='blue') points(x~y,data=subset(mydata,factor1=='2'), pch='*',col='green') points(.... etc

What is the simple and nice way?
Thank you very much for your kindness and help.

-- 
Evgeniy Kachalin

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Sun Jan 08 01:42:16 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:41:55 EST