Integral
integralBlock elementGraph
The area under a curve between two values, shaded. It names its curve the way a trace names its path — `of: #bell` for a curve in the same pane, or an expression to shade directly — and samples the region from the curve itself, so it follows a keyframed expression and a parameter driving either limit. The region closes along the axis: what is shaded is the area between the curve and y = 0, and where the curve dips below the axis the shading follows it down.
Attributes
ofRequiredImplicit
curve-pathfromRequired
parametised-numbertoRequired
parametised-numberlabel
rich-textDraw order within the pane.
Derived attributes
Computed while the element renders — read one with #id.name in attribute position or !value:#id.name() in prose, never set.
valueDerived
Examples
integral(of: #bell; from: -1; to: 1; label: $0.68$)integral(of: x^2; from: 0; to: b; colour: teal)integral(of: #velocity; a: 0; b: 5; edges: false; opacity: 0.2)