Hello everyone
I have some data of the following type.
100 200 300 400 500
1.1 1.2 1.3 1.4 1.5
600 700 800 900 1000
1.5 1.7 1.9 2.0 2.4
With plot() and points functions I can plot these 4 lines of data. But
I dont know how to do it with qplot or ggplot functions. The scenario
is something like t
Its very much simple.
Simply, if we do like the following
x<-c(100,200,300,400,500)
y<-c(1.1, 1.2, 1.3, 1.4, 1.5)
a<-c(600, 700, 800, 900, 1000)
b<-(1.5, 1.7, 1.9, 2.1, 2.3)
plot(x,y)
points(a,b)
As you can see the call to points() function will superimpose a new
curve (with some new points on x-
2 matches
Mail list logo