[R] plot

Benilton Carvalho bcarvalh at jhsph.edu
Mon Nov 12 16:51:54 CET 2007


replace the second plot() by

lines(d7, (a*d7)+b)

b

On Nov 12, 2007, at 10:42 AM, elyakhlifi mustapha wrote:

> Hi,
> I have been searched how to do to display in the same chart this  
> following functions:
>
> plot(d7,d6,type="b",col="dark red")
> plot(d7,(a*d7)+b,type="l")
>
> in using par it display in 2 diffenrent charts.
>
>
>       
> _____________________________________________________________________________
>
> l
> 	[[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