Dear ligges,thankyou very much. Actually majority of the questions i asked on this forum were without sense, as quoted by majority of experts. i actually wanted to over lap "mata" and "matb". by replacing your code with "matb", it worked!!! thankseliza
> Date: Sun, 2 Dec 2012 16:53:24 +0100 > From: lig...@statistik.tu-dortmund.de > To: eliza_bo...@hotmail.com > CC: r-help@r-project.org > Subject: Re: [R] overlapping graphs in logarithmic y-axis > > > > On 02.12.2012 16:19, eliza botto wrote: > > > > dear useRs, > > i want to overlap graphs of two matrices in such a way that the y-axis of > > graph should be "logarithmic" against normal x-axis. > > i am, unsuccessfully, trying the followings > >> matplot(mata, log="mata",type = "l", col="red)>lines(mata, log="matb",type > >> = "l", col="yellow") > > This cannot wok for several reasons, inclusing typos, and is not > reproducible for us given we do not know about "mata". > > Anyway, fixing your typos and the specification of the argument "log", > we get: > > matplot(mata, log="y", type = "l", col = "red") > > and overlay the red with yellow lines, although it makes no sense: > > matplot(mata, type = "l", col = "yellow", add = TRUE) > > Uwe Ligges > > > > > could you please help me out on it?? > > thanks in advanceregards > > eliza > > [[alternative HTML version deleted]] > > > > ______________________________________________ > > 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. > > [[alternative HTML version deleted]] ______________________________________________ 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.