View source: R/spherical_integrate.R
| vc_plot_spherical_integral | R Documentation |
Display stored radial fibers of a spherical integration region
vc_plot_spherical_integral(result, title = NULL)
result |
Result of vc_spherical_integrate(). |
title |
Optional character title. |
No field/boundary reevaluation or quadrature. Radial fibers are not a watertight surface or a complete boundary mesh. Shell fibers start at the inner radius and preserve the empty core. Degenerate poles may overlap.
Plotly widget of stored radial segments in physical x,y,z coordinates.
if(requireNamespace("plotly",quietly=TRUE)) {
r <- vc_spherical_integrate(function(v)1,c(0,pi/2),function(t)0,function(t)pi/2,
function(v)1,function(v)2,n_outer=2,n_middle=2,n_inner=2)
vc_plot_spherical_integral(r)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.