On 10/07/2009 07:12 PM, ogbos okike wrote:
Good morning. I wish to plot two data on the same axis. I tried plot(x,y,
type = "l") for the first and tried to use lines or points(x,y, lty = 2, col
= 4) to add or plot the second data on alongside the first. However, what I
got was not encouraging.
I
Hi,
Your two data sets have a different year so I'm not sure what you want
to do with the x axis.
The code below plots both data sets on the same graph, with a range of
two years,
d1 <- read.table("~/Downloads/2005.txt")
d2 <- read.table("~/Downloads/2006.txt")
cleanup <- function(d){
names
Good morning. I wish to plot two data on the same axis. I tried plot(x,y,
type = "l") for the first and tried to use lines or points(x,y, lty = 2, col
= 4) to add or plot the second data on alongside the first. However, what I
got was not encouraging.
I have attached the two data and would be pleas
3 matches
Mail list logo