An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-help/attachments/20041128/acd5d4b0/attachment.pl
: Adding a line in the graph of 'plot()'
2 messages · dvrecko@sfu.ca, Brad McNeney
dvrecko at sfu.ca wrote:
Hello. I'm looking for a way to add a line in a plot of a points that should lie along a particular line. Can I add a line to the 'plot()' function, maybe using 'abline()' so that the line is visible in the graph of 'plot()'? How?
It sounds like abline will do what you want.
More generally, can I overlay plots over one another?
Try help("points"), help("lines"), etc. You should read the section on
graphical procedures in the manual "An Introduction to R" (as it
suggests in the posting guide, which you can access through the URL at
the bottom of your message).
Brad
Thanks. Dean Vrecko Simon Fraser University
______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html