If I have one set of points Line 1: {(0,0.87),(0.1,0.88),(0.2,0.89)} and 
another set of points {(0,0.75),(0.1,0.76),(0.2,0.77)} I can easily produce two 
separate diagrams:

x<-c(0,0.1,0.2)
y1<-c(0.87,0.88,0.89)
y2<-c(0.75,0.76,0.77)
p1<-plot(x,y1,type="b")
p2<-plot(x,y2,type="b")

But what can I do if I want ONE diagram, which contains bots lines so that they 
can be compared? In other words: How can I put both sets of points as parallel 
functions together into ONE and the same graph? How could I put any number of 
sets of points (perhaps y1,y2,...,y8) which belong to the same x into the same 
graph? 



Machen Sie aus 14 Cent spielend bis zu 100 Euro!
Die neue Gaming-Area von Arcor - über 50 Onlinespiele im Angebot.
http://www.arcor.de/rd/emf-gaming-1

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to