vc_plot_curve: Display stored spatial curve samples

View source: R/parametric_curve.R

vc_plot_curveR Documentation

Display stored spatial curve samples

Description

Display stored spatial curve samples

Usage

vc_plot_curve(
  result,
  mode = c("lines", "markers", "lines+markers"),
  line = list(color = "#24476b", width = 4),
  marker = list(),
  title = NULL
)

Arguments

result

Result of vc_curve_sample().

mode

Plotly mode for lines, markers or both.

line, marker

Plotly style lists.

title

Optional character title.

Value

A Plotly widget in physical Cartesian coordinates. Parameter values are available in hover text. A one-point curve uses a marker.

Examples

if(requireNamespace("plotly",quietly=TRUE)) {
  vc_curve_sample(function(t)c(t,t^2,t^3),c(0,1)) |> vc_plot_curve()
}

vectorialcalculus documentation built on Nov. 17, 2026, 1:09 a.m.