57.6 Sampled Function Graphs
A sampled function graph is ordinary semantic path geometry produced from a one-variable numeric procedure and an axes Visual. Sampling happens once when sample-function-path or function-graph is called. The returned value does not retain the procedure.
Finite real results become ordered samples. #f, positive infinity, negative infinity, and NaN create explicit breaks. An optional maximum y jump can reject a connection between two finite samples. Accepted segments are clipped to the displayed axes rectangle by default.
Function graphs use explicit 'linear or 'smooth interpolation. Linear remains the default. Smooth interpolation converts every accepted run to semantic cubic Bézier segments derived from uniform Catmull-Rom tangents. Clipping happens before interpolation, and smooth controls are clamped to the axes rectangle when clipping is enabled.
A graph Visual copies the axes translation, rotation, and scale at construction time. It is an ordinary path Visual and therefore uses the existing path renderer, opacity protocol, group composition, create, uncreate, and affine animation requests.