Hi Liviu , now I can see that function but the problem is that its only applicable for single data frame. as I wrote in my first post that I got 2 different matrix with same dimensions ( 3x 12 here in example) , so if I plot normal plot using plot function plot(ak[1,],pre[1,],type="l") lines(ak[2,],pre[2,],type="l",col="red")
but every files contains more than 1000 observations. Is it possible to use this function for two different matrix data ? if yes then please let me know how to do it . Thanks Uday -- View this message in context: http://r.789695.n4.nabble.com/spaghetti-plots-in-R-tp4532021p4532452.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.