.. _auto_curve_offset_and_scale: *OFFSET AND SCALE THE X-VALUES AND Y-VALUES BY THE FACTORS PROVIDED BELOW* ========================================================================== Applies independent offset and scale factors to both the X and Y values of a curve, in that order: offset is added first, then the result is multiplied by the scale factor. Use this worker to shift and/or rescale any curve's axes during pre- or post-processing. When to use ----------- Classification: **process**. Tagged: ``curve``, ``curve_transform``, ``offset``, ``scale``, ``transform``, ``x-axis``, ``y-axis``. Inputs ------ .. list-table:: :header-rows: 1 :widths: 20 20 20 20 20 20 * - Label - ID - Type - Default - Required - Description * - Curve - curve - vector - — - - Input curve (vector of X/Y pairs) to be transformed; all offset and scale operations are applied to this curve. * - X Offset Value - x_offsetvalue - scalar - 0.0 - - Scalar added to every X value before scaling is applied; dimensionless additive shift — default 0.0 (no offset). * - Y Offset Value - y_offset - scalar - 0.0 - - Scalar added to every Y value before scaling is applied; dimensionless additive shift — default 0.0 (no offset). * - X Scale Value - x_scalevalue - scalar - 1.0 - - Multiplicative factor applied to every X value after the X offset; default 1.0 (no scaling). * - Y Scale Value - y_scalevalue - scalar - 1.0 - - Multiplicative factor applied to every Y value after the Y offset; default 1.0 (no scaling). Outputs ------- .. list-table:: :header-rows: 1 :widths: 20 20 20 20 * - Label - ID - Type - Description * - curve_offset_and_scale_output_1 - curve_offset_and_scale_output_1 - vector - Transformed curve (vector of X/Y pairs) after all specified offset and scale operations have been applied to the input curve. 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_offset_and_scale `_ .. raw:: html

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