| vc_plot_limit | R Documentation |
Plot finite limit probes without evaluating the approach point
vc_plot_limit(
result,
f,
xlim = NULL,
n = 401L,
colors = c(curve = "#24476b", left = "#188367", right = "#c44736", limit = "#8250a3"),
title = NULL,
xlab = "x",
ylab = "f(x)"
)
result |
Result from vc_limit(). |
f |
The same deterministic scalar function used for the calculation. Function values at the stored anchor points must match the result. |
xlim |
Optional increasing pair of finite real plot limits, containing the anchor points. NULL derives limits around the anchors. |
n |
Integer number of curve samples, at least 2. The curve is a sampled visualization, not an exact representation or a continuity test. |
colors |
Named vector with curve, left, right and limit colors. |
title |
Optional scalar plot title. NULL uses a descriptive default. |
xlab, ylab |
Scalar axis labels. |
The approach point is excluded from all function evaluations. The lower panel uses logarithmic distance with smaller distances to the right. No proof of limit existence or infinity is implied.
Plotly widget with sampled function, side probes and a distance panel. A finite compatible estimate is an open marker, not f(x0).
if (requireNamespace("plotly",quietly=TRUE)) {
f <- function(x) sin(x)/x
f |> vc_limit(0) |> vc_plot_limit(f=f)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.