vc_plot_riemann2d: Draw stored signed Riemann prisms independently of...

View source: R/riemann2d.R

vc_plot_riemann2dR Documentation

Draw stored signed Riemann prisms independently of calculation

Description

Draw stored signed Riemann prisms independently of calculation

Usage

vc_plot_riemann2d(result, title = NULL)

Arguments

result

Result of vc_riemann2d().

title

Optional character title.

Details

For restricted regions these are prisms of the zero-extension approximation on the box, not exact clipped boundary cells. Sampled extrema are labeled as such. A prism below zero contributes negatively.

Value

Plotly mesh widget. Every rectangular cell extends from zero to its stored signed height. No new field or boundary evaluation is made.

Examples

if(requireNamespace("plotly",quietly=TRUE)) {
  vc_riemann2d(function(v)v[1]-v[2],c(0,1),c(0,1),nx=2,ny=2) |>
    vc_plot_riemann2d()
}

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