[R] Odp: how to draw a slope (using abline) with a specific starting point?

Petr PIKAL petr.pikal at precheza.cz
Wed Sep 30 12:02:22 CEST 2009


Hi

it is not clear what you want? If you want a line which does not stretch 
entire plot use segments. AFAIK abline does not have any argument 
restricting its length.

Regards
Petr


r-help-bounces at r-project.org napsal dne 29.09.2009 20:04:05:

> plot(y~x, type='p', col=3, xlim=c(50,1000), ylim=c(0,80), xlab='', 
ylab='',
> data=example)
> abline(a=11, b=0.04,  col = 2)
> 
> -- 
> Thanks,
> A.B.
> 
>    [[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