Contents

init(x:y:z:function:)

Creates a SurfacePlot that represents a function y = f(x, z).

Declaration

nonisolated init(x: LocalizedStringKey, y: LocalizedStringKey, z: LocalizedStringKey, function: @escaping  @Sendable (Double, Double) -> Double)

Parameters

  • x:

    The x label.

  • y:

    The y label.

  • z:

    The z label.

  • function:

    The function to graph.

Discussion