Get your own website Result Size: 625 x 565
x
 
# We need this line of code to show graphs in our compiler
bitmap(file="out.png")
line1 <- c(1,2,3,4,5,10)
line2 <- c(2,5,7,8,9,10)
plot(line1, type = "l", col = "blue")
lines(line2, type="l", col = "red")