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]]
______________________________________________
[email protected] 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.
______________________________________________
[email protected] 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.