Graphical display of polynomial objects
Standard displsy methods for polynomial or lists of polynomials.
1 2 3 4 5 6 7 8 9 10 11 12 13 14
## S3 method for class 'polynom' plot(x, xlim = 0:1, ylim = range(Px), type = "l", xlab = "x", ylab = "p(x)", ..., len = 1000) ## S3 method for class 'polylist' plot(x, xlim = 0:1, ylim = range(Px), type = "l", xlab = "x", ylab = "P(x)", ..., len = 1000) ## S3 method for class 'polylist' lines(x, ..., len = 1000) ## S3 method for class 'polynom' lines(x, ..., len = 1000) ## S3 method for class 'polylist' points(x, ..., len = 100) ## S3 method for class 'polynom' points(x, ..., at = seq(pu, pu, len = len), len = 100)
Additional arguments sent to
The number of linear line segments to use to present the polynomial curve.
the $x-$values where the points are to appear.
plot.polynom will by default choose
x limits to cover
the (real parts of) the zeros, stationary points and points of
inflexion of the ploynomial being plotted.
chooses by default an x region to accommodate all polynomials on the
list in this way. The current palette of colours is used for
lines.polynom may be used to add
individual polynomials to the plot. The argument
len may be
used to increase or decrease the number of straight line segments used
to represent the curves.
Nothing of use.
Bill Venables, with contributions by Kurt Hornik.
1 2 3 4 5 6 7
Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.