View source: R/polar_integrate.R
| vc_plot_polar_integral | R Documentation |
Display a stored polar integration domain in Cartesian coordinates
vc_plot_polar_integral(result, title = NULL)
result |
Result of vc_polar_integrate(). |
title |
Optional character title. |
Only stored sections are transformed. Curved boundaries are joined by straight chords. No quadrature or field/boundary evaluation is repeated. A full annulus is outlined by outer and reversed inner boundaries joined along the angular seam. This sampled domain is not a signed volume plot.
Plotly widget with sampled inner/outer boundary and radial sections.
if(requireNamespace("plotly",quietly=TRUE)) {
r <- vc_polar_integrate(function(v)1,c(0,pi),function(t)1,function(t)2)
vc_plot_polar_integral(r)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.