points.polynomial | R Documentation |
Add a polynomial to an existing plot usually as a point plot.
## S3 method for class 'polynomial' points(x, length = 100, ...)
x |
an object of class |
length |
size of x vector at which evaluations are to be made. |
... |
additional arguments as for the points generic. |
This is a method for the generic function points
.
Points representing the given polynomial are added to an existing plot. Values outside the current plot region are not shown.
plot
,
lines
,
points
,
plot.polynomial
,
lines.polynomial
.
plot(poly.calc(-1:5)) lines(poly.calc(2:4), lty=2) points(poly.calc(-2:6), pch=4)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.