The clip function will limit the area that other functions (including abline) 
plot to, so that is one option.

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.s...@imail.org
801.408.8111


> -----Original Message-----
> From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-
> project.org] On Behalf Of Giovanni Azua
> Sent: Saturday, May 15, 2010 8:03 AM
> To: r-help@r-project.org
> Subject: [R] abline limit constrain x-range how?
> 
> Hello,
> 
> I managed to "linearize" my LDA decision boundaries now I would like to
> call abline three times but be able to specify the exact x range. I was
> reading the doc but it doesn't seem to support this use-case? are there
> alternatives. The reason why I use abline is because I first call plot
> to plot all the three datasets and then call abline to "append" these
> decision boundary lines to the existing plot ...
> 
> Can anyone please advice?
> Thanks in advance,
> Best regards,
> Giovanni
> ______________________________________________
> 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.

______________________________________________
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.

Reply via email to