In a slice plot, there is one independent variable. The graph shows the output of the function versus the independent variable. It's called a slice plot to distinguish it from a contour plot, in which the graph has one axis for each independent variable and the output of the function is shown by color and labels.
slice_plot(
...,
npts = 101,
color = "black",
alpha = 1,
label_text = "",
label_x = 1,
label_vjust = "top",
label_color = color,
label_alpha = alpha,
singularities = numeric(0)
)
ggplot2 layers
Canonical first three argument: [gg]
, tilde expression, [domain]
as well
as any parameters to be assigned or re-assigned.
Integer, number of points at which to evaluate the function.
Color of curve
Alpha of curve
character string label to place near the graph curve. Default: none.
number between 0 and 1 indicating the horizontal placement of the label_text
.
vertical justification of label. One of "left", "middle", "right", "bottom", "center", "top", "inward", or "outward"
color of label
alpha of label
numeric vector of x positions at which to break the graph.
Additional arguments will be passed to geom_line()
. Use, e.g. color="red"