.. _auto_curve_replace_x_value: *REPLACE X-VALUE* ================= Replaces a single specific x-value in a curve with a new x-value, leaving all other points unchanged. Use this worker when a curve contains an erroneous or placeholder x-coordinate that needs to be corrected before further processing. When to use ----------- Classification: **process**. Tagged: ``curve``, ``point-edit``, ``replace``, ``transform``, ``x-value``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - Curve - curve - vector - — - - Input curve (x/y vector) whose x-value will be modified; supports multiple curves via the definedMany flag. * - Old X-Value - x-value - scalar - — - - The existing x-coordinate to search for and replace; must match a point in the curve exactly. * - New Y-Value - new_x-value - scalar - 0 - - The replacement x-coordinate that will overwrite the matched old x-value; defaults to 0 if left blank. Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - curve_replace_x_value_output_1 - curve_replace_x_value_output_1 - vector - Output curve identical to the input but with the specified x-value substituted by the new x-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_x_value `_ .. raw:: html

Auto-generated from transformation schema. Worker id: curve_replace_x_value. Schema hash: c4535b22bba6. Hand-curated docs in workerexamples/ override this page when present.