Plot method for objects of class "itp"
returned from
itp
.
# S3 method for itp
plot(x, ...)
No return value, only the plot is produced.
Uses curve
to produce a plot of the
function f
provided to itp
over the interval within
which a root was sought. The estimated root is indicated using a
horizontal line drawn at 0 and a vertical line drawn at the estimated
root. By default the name of the function f
is used as a title,
but this can be replaced by supplying the argument main
. The
interval over which f
is plotted can be changed by supplying the
arguments from
and/or to
.
itp
for the Interpolate, Truncate, Project (ITP) root
finding algorithm.