Peter Lauren wrote:
> I was wondering what would be the best way to put a
> vertical line on a graph made with plot().  I can get
> an horizontal line by plotting a vector where every
> element has the same value but it is not as clear how
> a vertical line should be done.
>

  abline(v=42)

you can use it for horizontal lines too: abline(h=42) and several other 
things. See help(abline) for details.

Barry

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

Reply via email to