[ top | up ]

Lines Method for Polynomials

Usage

lines(p, length=100, ...)

Arguments

p An object of class polynomial
length Size of x vector at which evaluations are to be made.
... Additional arguments as for the lines generic.

Description

Add a polynomial to an existing plot usually as a line plot.

Lines representing the given polynomial are added to an existing plot. Values outside the current plot region are not shown.

Value

As for the lines generic.

See Also

plot, lines, points, plot.polynomial, points.polynomial

Examples

plot  (poly.from.zeros(-1:5))
lines (poly.from.zeros( 2:4), lty=2)
points(poly.from.zeros(-2:6), pch=4)