REPLACE Y-VALUE AT A GIVEN X¶
Replaces the y-value of a curve at a specified x-coordinate with a new scalar value. Use this worker when you need to correct, override, or pin a single point on an existing curve without altering the rest of the data.
Inputs¶
| Label | ID | Type | Default | Required | Description |
|---|---|---|---|---|---|
| Curve | curve | vector | — | Input curve (x/y vector pair) whose y-value will be modified; must contain the target x-coordinate. | |
| X-Value | x-value | scalar | — | The x-coordinate at which the y-value replacement is applied; must exactly match an existing x point on the curve. | |
| New Y-Value | new_y-value | scalar | 0 | The replacement y-value to assign at the specified x-coordinate; defaults to 0 if left unset. |
Outputs¶
| Label | ID | Type | Description |
|---|---|---|---|
| curve_replace_y_value_output_1 | curve_replace_y_value_output_1 | vector | Output curve identical to the input curve except that the y-value at the specified x-coordinate has been replaced with the new value. |
Disciplines¶
- data.curve.transform
Runnable example¶
A runnable example is registered for this worker. Open the example workflow on the d3VIEW canvas: /api/workflow/example?id=curve_replace_y_value
Auto-generated from transformation schema. Worker id: curve_replace_y_value. Schema hash: c09579ede753. Hand-curated docs in workerexamples/ override this page when present.