[R] Odp: Multiple lines in a graph

Petr PIKAL petr.pikal at precheza.cz
Fri Feb 5 11:24:18 CET 2010


Hi

r-help-bounces at r-project.org napsal dne 05.02.2010 11:13:23:

> Dear All
> 
> Subject : Multiple Lines in Graph
> 
> Could you please help me to draw two lines in a graph.
> plot(f1, t1, type ="b")  and  plot(f2,t2, type="b")  where t1, t2, 
f1,and f2
> are single dimensional matrix.

With your example I get this error

> plot(f1, t1, type ="b")
Error in plot(f1, t1, type = "b") : object 'f1' not found
>

So without actual knowledge about f1, t1 and f2, t2

the only possible help is

?line
?points

Regards
Petr



> I have these two graph. How can I draw these two lines in a single 
window?
> Thanks in advance
> 
> Kind Regards
>  Wesley C Mathew
> 
>    [[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list