init(x:y:t:domain:function:)
Creates a mark that graphs a parametric function (x, y) = f(t).
Declaration
nonisolated init(x: Text, y: Text, t: Text, domain: ClosedRange<Double>, function: @escaping @Sendable (Double) -> (x: Double, y: Double))Discussion
Parameters:
x: The localized string key for the x label.
y: The localized string key for the y label.
t: The localized string key for the t label.
domain: The domain of t. Must be a finite domain.
function: The function to graph. Returns a tuple of (x, y) for a value of t.