►V Reference

57.7 Parametric Curves and Data Plots🔗ℹ

A parameter range stores an ordered start and end value. The values may increase or decrease. Parametric sampling includes both endpoints and calls a one-argument procedure in that order. Each call returns one vec2 or #f. A coordinate becomes one sample; #f creates a gap.

An ordered data series is a proper list of vec2 values and #f gaps. List order is traversal order. The library does not sort the points by x, infer time order, or remove repeated coordinates.

Parametric and data plots can reject adjacent samples farther apart than an explicit Euclidean distance in numeric-coordinate units. They share the same segment clipping, run construction, and linear or smooth interpolation rules as function graphs. Empty input, one isolated point, or an isolated finite sample creates no drawn segment.

parametric-curve and data-plot return ordinary path Visuals whose transforms are construction-time snapshots of their axes. The sampling procedure and input point list are not stored.