View source: R/plot_double_integrate.R
| vc_plot_double_integral | R Documentation |
Display stored Cartesian integration sections
vc_plot_double_integral(result, title = NULL)
result |
Result of vc_double_integrate(). |
title |
Optional character title. |
No function evaluations or quadrature occur here. Straight segments connect stored boundary samples, not an exact curved boundary. Physical x,y axes are preserved for either order. No signed height is represented.
Plotly widget of sampled boundary polygon and stored sections.
if(requireNamespace("plotly",quietly=TRUE)) {
r <- vc_double_integrate(function(v)sum(v),c(0,1),function(x)0,function(x)x)
vc_plot_double_integral(r)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.