| lines.polynomial(polynom) | R Documentation |
Add a polynomial to an existing plot usually as a line plot.
lines.polynomial(p, length=100, ...)
p |
An object of class ``polynomial''. |
length |
Size of vector at which evaluations are to be made. |
... |
Additional arguments as for the lines
generic. |
This is a method for the generic function lines.
Lines representing the given polynomial are added to an existing plot. Values outside the current plot region are not shown.
lines,
points,
points.polynomial,
plot,
plot.polynomial.
plot (poly.calc(-1:5)) lines (poly.calc( 2:4), lty = 2) points(poly.calc(-2:6), pch = 4)