I have lots of coordinate vectors like that
x1<-c(1,2,4,5,6,7,8,9)
y1<-c(1,2,3,4,5,6,7,8)
x2<-c(1,2,3,4,5)
y2<-c(3,4,5,6,2)
I want to make a lines graph
I have lots of coordinate vectors like that
x1<-c(1,2,4,5,6,7,8,9)
y1<-c(1,2,3,4,5,6,7,8)
x2<-c(1,2,3,4,5)
y2<-c(3,4,5,6,2)
I want to make a lines graph
This should be quite simple, you could try this;
plot(y1 ~ x1, type = "l")
Then you can add the rest of the lines with;
lines(y2 ~ x2)